From 586a5f1f77516c60c6f33c8ea8e92c11734bf18b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Thu, 10 Jun 2004 18:49:18 +0000 Subject: [PATCH] - help added Changed files: client/make-request.sh -> 1.19 --- client/make-request.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/client/make-request.sh b/client/make-request.sh index b2a0f13..789acd8 100644 --- a/client/make-request.sh +++ b/client/make-request.sh @@ -39,6 +39,38 @@ die () { exit 1 } +usage() { + echo "Usage: make-request.sh [OPTION] ... [SPECFILE] ...." + echo "" + echo "Mandatory arguments to long options are mandatory for short options too." + echo " -b BUILDER,BUILDER,... --builder=BUILDER,BUILDER,..." + echo " Sends request to given builders" + echo " --with VALUE --without VALUE" + echo " Build package with(out) a given bcond" + echo " -t --test-build" + echo " Performs a 'test-build'. Package will be uploaded to test/ tree" + echo " and won't be upgraded on builders" + echo " -r --ready-build" + echo " Build and upgrade package and upload it to ready/ tree" + echo " -u --upgrade" + echo " Forces pacakge upgrade (for use with -t)" + echo " -n --no-upgrade" + echo " Disables package upgrade (for use with -r)" + echo " -ni -no-install-br" + echo " Do not install missing BuildRequires (--nodeps)" + echo " -f --flag" + echo " -cf --command-flag" + echo " Not yet documented" + echo " -c --command" + echo " Executes a given command on builders" + echo " --cvsup" + echo " Updates builders infrastructure (outside chroot)" + echo " -h --help" + echo " Displays this help message" + exit 0; +} + + while [ $# -gt 0 ] ; do case "$1" in --builder | -b ) @@ -96,6 +128,10 @@ while [ $# -gt 0 ] ; do command_flags="no-chroot" command="cvs up" ;; + + --help | -h ) + usage + ;; -* ) die "unknown knob: $1" -- 2.44.0