parse_options.sh: Make sure that --help works under sh

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-11-27 18:05:53 -03:00
parent b1e0aac38f
commit 84043cee75
3 changed files with 17 additions and 4 deletions

View File

@@ -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'."