diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-05-13 09:30:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-19 23:40:37 +0100 |
commit | 8a64780425a1a2ac312d1a92b374e8e75df0eed8 (patch) | |
tree | 961c6755d94c35bb6343fd08363287fb3cc85168 | |
parent | 282b96763f61de2b78ed31faf1aab500ffbdd4ed (diff) | |
download | poky-8a64780425a1a2ac312d1a92b374e8e75df0eed8.tar.gz |
create-pull-request: alphabetize arguments
Some initial cleanup prior to a significant overhaul.
(From OE-Core rev: 926ca57b0eca7d94b933d2949d04a20ff176e57d)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | 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 784b48c2dd..658b9c2b56 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
@@ -10,14 +10,14 @@ usage() { | |||
10 | CMD=$(basename $0) | 10 | CMD=$(basename $0) |
11 | cat <<EOM | 11 | cat <<EOM |
12 | Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to] [-i commit_id] -b contrib_branch | 12 | Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to] [-i commit_id] -b contrib_branch |
13 | -b contrib_branch Branch-name in the $PULL_URL | ||
13 | -h Display this help message | 14 | -h Display this help message |
14 | -o output_dir Specify the output directory for the messages (default: pull-PID) | 15 | -i commit_id Ending commit (default: HEAD) |
15 | -m msg_body_file The file containing a blurb to be inserted into the summary email | 16 | -m msg_body_file The file containing a blurb to be inserted into the summary email |
17 | -o output_dir Specify the output directory for the messages (default: pull-PID) | ||
18 | -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix | ||
16 | -r relative_to Starting commit (default: master) | 19 | -r relative_to Starting commit (default: master) |
17 | -i commit_id Ending commit (default: HEAD) | ||
18 | -b contrib_branch Branch-name in the $PULL_URL | ||
19 | -s subject The subject to be inserted into the summary email | 20 | -s subject The subject to be inserted into the summary email |
20 | -p prefix Use [prefix N/M] instead of [PATCH N/M] as the subject prefix | ||
21 | 21 | ||
22 | Examples: | 22 | Examples: |
23 | $CMD -b nitin/basic | 23 | $CMD -b nitin/basic |
@@ -28,7 +28,7 @@ EOM | |||
28 | } | 28 | } |
29 | 29 | ||
30 | # Parse and validate arguments | 30 | # Parse and validate arguments |
31 | while getopts "b:hi:m:o:r:s:p:" OPT; do | 31 | while getopts "b:hi:m:o:p:r:s:" OPT; do |
32 | case $OPT in | 32 | case $OPT in |
33 | b) | 33 | b) |
34 | CONTRIB_BRANCH="$OPTARG" | 34 | CONTRIB_BRANCH="$OPTARG" |