mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 04:19:12 +00:00
parse_options.sh: Make sure that --help works under sh
This commit is contained in:
@@ -71,7 +71,7 @@ PO_DIR="" # Directory with program option spec files
|
||||
usage() {
|
||||
local file="$1"
|
||||
|
||||
local usage=$(grep '^Usage: ' "$file")
|
||||
local usage="$(grep '^Usage: ' "$file")"
|
||||
echo $usage
|
||||
echo
|
||||
echo "For more information, 'man $TOOL' or 'perldoc $file'."
|
||||
|
Reference in New Issue
Block a user