Improved the usage output.
authorWayne Davison <wayned@samba.org>
Sat, 23 May 2009 20:40:23 +0000 (13:40 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 23 May 2009 20:40:23 +0000 (13:40 -0700)
packaging/patch-update

index 241cd16..135b7e4 100755 (executable)
@@ -227,9 +227,15 @@ sub check_git_status
 sub usage
 {
     die <<EOT;
 sub usage
 {
     die <<EOT;
-Usage: patch-update [OPTIONS]
-
---gen[=DIR]   Include generated files.  Optional dest DIR overrides "patches".
---skip-check  Skip the check that ensures starting with a clean branch.
+Usage: patch-update [OPTIONS] [patches/DIFF...]
+
+Options:
+-b, --branch=BRANCH  The master branch to merge into the patch/* branches.
+    --gen[=DIR]      Include generated files.  Optional destination DIR
+                     arg overrides the default of using the "patches" dir.
+    --skip-check     Skip the check that ensures starting with a clean branch.
+-s, --shell          Launch a shell for every patch/* branch updated, not
+                     just when a conflict occurs.
+-h, --help           Output this help message.
 EOT
 }
 EOT
 }