add more help
This commit is contained in:
parent
fc7a251da4
commit
b0ba351087
3
envs
3
envs
|
@ -72,6 +72,9 @@ usage() {
|
||||||
printf '\nusage: %s [help|list|submit|about|script_name]\n' "$PROGNAME"
|
printf '\nusage: %s [help|list|submit|about|script_name]\n' "$PROGNAME"
|
||||||
printf ' %s list - show a list of approved userscripts\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 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 ]] && {
|
[[ $(id -u) == 0 ]] && {
|
||||||
printf ' %s approve - enter the approval queue\n' "$PROGNAME"
|
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"
|
printf ' %s revoke <script_name> - send a script back to the author and remove from /envs/bin\n' "$PROGNAME"
|
||||||
|
|
Loading…
Reference in New Issue