Make getopt and eol_branch.sh agree on the name for the dry-run argument
If we run eol_branch.sh with --dry-run we get told it's an unknown argument. This is because we're calling getopt with 'dry'. Let's give getopt the right name. Change-Id: I379ebdaa3c9d48218df974d01de2c76744d21c6f
This commit is contained in:
parent
ff179e4519
commit
69c1b0db4d
|
@ -22,7 +22,7 @@ function print_help {
|
|||
echo ""
|
||||
}
|
||||
|
||||
OPTS=`getopt -o dhqw --long eol-message:,dry,help,quiet,remote:,warn-exit -n $0 -- "$@"`
|
||||
OPTS=`getopt -o dhqw --long eol-message:,dry-run,help,quiet,remote:,warn-exit -n $0 -- "$@"`
|
||||
if [ $? != 0 ] ; then
|
||||
echo "Failed parsing options." >&2
|
||||
print_help
|
||||
|
|
Loading…
Reference in New Issue