Add the missed long option tags
And use variables for options. TrivialFix Change-Id: I6cf8612b4e15ef263d2f5b2dbacc186ccd16871b
This commit is contained in:
parent
6c35db3683
commit
2a81598434
@ -41,7 +41,9 @@ Commands:
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
ARGS=$(getopt -o hi:p:t: -l help,inventory:,playbook: --name "$0" -- "$@") || { usage >&2; exit 2; }
|
SHORT_OPTS="hi:p:t:"
|
||||||
|
LONG_OPTS="help,inventory:,playbook:,tags:"
|
||||||
|
ARGS=$(getopt -o "${SHORT_OPTS}" -l "${LONG_OPTS}" --name "$0" -- "$@") || { usage >&2; exit 2; }
|
||||||
eval set -- "$ARGS"
|
eval set -- "$ARGS"
|
||||||
|
|
||||||
find_base_dir
|
find_base_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user