mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 21:19:04 +00:00
Merged fix-1038995-bash-options-starting-with-no
This commit is contained in:
@@ -427,6 +427,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
|
||||
# Handle normal cases: --option and --no-option.
|
||||
|
Reference in New Issue
Block a user