[OE-core] [RFC PATCH 01/10] create-pull-request: alphabetize arguments
Darren Hart
dvhart at linux.intel.com
Fri May 13 23:36:19 UTC 2011
Some initial cleanup prior to a significant overhaul.
Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
scripts/create-pull-request | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 5ad7666..225a89a 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -9,14 +9,14 @@ usage() {
CMD=$(basename $0)
cat <<EOM
Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to] [-i commit_id] -b contrib_branch
+ -b contrib_branch Branch-name in the git.pokylinux.org/poky-contrib tree
-h Display this help message
- -o output_dir Specify the output directory for the messages (default: pull-PID)
+ -i commit_id Ending commit (default: HEAD)
-m msg_body_file The file containing a blurb to be inserted into the summary email
+ -o output_dir Specify the output directory for the messages (default: pull-PID)
+ -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix
-r relative_to Starting commit (default: master)
- -i commit_id Ending commit (default: HEAD)
- -b contrib_branch Branch-name in the git.pokylinux.org/poky-contrib tree
-s subject The subject to be inserted into the summary email
- -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix
Examples:
$CMD -b nitin/basic
@@ -27,7 +27,7 @@ EOM
}
# Parse and validate arguments
-while getopts "b:hi:m:o:r:s:p:" OPT; do
+while getopts "b:hi:m:o:p:r:s:" OPT; do
case $OPT in
b)
CONTRIB_BRANCH="$OPTARG"
--
1.7.1
More information about the Openembedded-core
mailing list