Improved the usage output.

This commit is contained in:
Wayne Davison
2009-05-23 13:40:23 -07:00
parent 350242c5c1
commit 9ba4d44fa8

View File

@@ -227,9 +227,15 @@ sub check_git_status
sub usage
{
die <<EOT;
Usage: patch-update [OPTIONS]
Usage: patch-update [OPTIONS] [patches/DIFF...]
--gen[=DIR] Include generated files. Optional dest DIR overrides "patches".
--skip-check Skip the check that ensures starting with a clean branch.
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
}