From 9e11a804a8604fa8e379fe8f342aa8135d042faa Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 5 Apr 2007 23:14:35 +0000 Subject: templatepkg: added -t and -p jail-update: added --help jail-commit: added --help and --all git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@268 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/jail-commit | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'trunk/src/jail-commit') diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index d398e0f..61b93bf 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -30,7 +30,9 @@ fi function usage { echo $BASENAME: commit a jail configuration into a template - echo usage: $BASENAME [ [template]] + echo "usage: $BASENAME [ [template]]" + echo " $BASENAME --all to commit all templates" + echo " $BASENAME --help for help" } @@ -129,7 +131,11 @@ function do_commit { } -if [ ! -z "$1" ]; then +if [ "$1" == "--help" ]; then + usage +elif [ "$1" == "--all" ]; then + template_svn_commit $BASE_CONF/templates +elif [ ! -z "$1" ]; then do_commit $1 $2 else if [ -f $JAIL_LIST ]; then -- cgit v1.2.3