[packages/rpm-build-tools/merge-pld-builder-client: 20/2675] - help added

glen glen at pld-linux.org
Mon Dec 19 21:50:37 CET 2016


commit 73709d5256af5ac72606c74e47643340b29b62fd
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Thu Jun 10 18:49:18 2004 +0000

    - help added
    
    Changed files:
        client/make-request.sh -> 1.19

 make-request.sh | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/make-request.sh b/make-request.sh
index b2a0f13..789acd8 100644
--- a/make-request.sh
+++ b/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"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list