diff options
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-x | trunk/src/jail-commit | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index 9e2a031..1d5de09 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -30,9 +30,9 @@ fi function usage { echo $BASENAME: commit a jail configuration into a template - echo "usage: $BASENAME [<jail-path> [template]]" - echo " $BASENAME --all to commit all templates" - echo " $BASENAME --help for help" + echo "usage: \'$BASENAME [<jail-path> [template]]\'" + echo " \'$BASENAME --all\' to commit all templates" + echo " \'$BASENAME --help\' for help" } @@ -138,8 +138,10 @@ elif [ "$1" == "--all" ]; then elif echo $1 | grep -q -e "^--"; then usage elif [ ! -z "$1" ]; then + echo "This is jail-commit; Run \'$BASENAME --help\' for help" do_commit $1 $2 else + echo "This is jail-commit; Run \'$BASENAME --help\' for help" if [ -f $JAIL_LIST ]; then for jailpath in `cat $JAIL_LIST`; do do_commit $jailpath |