mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Merged fix-1038995-bash-options-starting-with-no
This commit is contained in:
@@ -361,6 +361,9 @@ _parse_command_line() {
|
||||
if [ -f "$PT_TMPDIR/po/$base_opt" ]; then
|
||||
opt_is_negated=1
|
||||
opt="$base_opt"
|
||||
else
|
||||
opt_is_negated=""
|
||||
opt=$(echo $opt | sed 's/^-*//')
|
||||
fi
|
||||
else
|
||||
if $(echo $opt | grep '^--no-' >/dev/null); then
|
||||
|
Reference in New Issue
Block a user