diff options
author | Micah Anderson <micah@riseup.net> | 2009-12-31 19:38:06 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-01-04 15:10:47 -0500 |
commit | bcec6b61fb874910e17bb3762c823745ae12bd1c (patch) | |
tree | 06d02ac0993f45c83f6a7f98cf1c0a44eb66d9bc /src | |
parent | bc82b23d4956c05848b015d2460e7fd9b234211c (diff) |
Its more useful and standard to actually output the 'help' output when
an improper number of arguments is passed, rather output a line
telling the user how to get the help output.
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere | 2 | ||||
-rwxr-xr-x | src/monkeysphere-authentication | 2 | ||||
-rwxr-xr-x | src/monkeysphere-host | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/monkeysphere b/src/monkeysphere index 9fff77a..14d2bf0 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -216,7 +216,7 @@ export LOG_PREFIX # get subcommand COMMAND="$1" -[ "$COMMAND" ] || failure "Type '$PGRM help' for usage." +[ "$COMMAND" ] || $PGRM help shift case $COMMAND in diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication index df7d9bc..057d14e 100755 --- a/src/monkeysphere-authentication +++ b/src/monkeysphere-authentication @@ -152,7 +152,7 @@ export LOG_PREFIX # get subcommand COMMAND="$1" -[ "$COMMAND" ] || failure "Type '$PGRM help' for usage." +[ "$COMMAND" ] || $PGRM help shift case $COMMAND in diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 4ec533d..52a4373 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -238,7 +238,7 @@ export LOG_PREFIX # get subcommand COMMAND="$1" -[ "$COMMAND" ] || failure "Type '$PGRM help' for usage." +[ "$COMMAND" ] || $PGRM help shift case $COMMAND in |