add more help

This commit is contained in:
creme 2019-09-05 21:49:31 +02:00
parent fc7a251da4
commit b0ba351087
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 3 additions and 0 deletions

3
envs
View File

@ -72,6 +72,9 @@ usage() {
printf '\nusage: %s [help|list|submit|about|script_name]\n' "$PROGNAME"
printf ' %s list - show a list of approved userscripts\n' "$PROGNAME"
printf ' %s submit - start the submission flow for your own script\n' "$PROGNAME"
printf ' %s about <script_name> - get the description for script_name\n' "$PROGNAME"
printf ' %s <script_name> - run script_name with all remaining args are passed to the script\n' "$PROGNAME"
[[ $(id -u) == 0 ]] && {
printf ' %s approve - enter the approval queue\n' "$PROGNAME"
printf ' %s revoke <script_name> - send a script back to the author and remove from /envs/bin\n' "$PROGNAME"