diff options
Diffstat (limited to 'src/pro-archman.sh')
-rw-r--r-- | src/pro-archman.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pro-archman.sh b/src/pro-archman.sh index 62d9461..b4524d2 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -119,7 +119,9 @@ get_options() unset OPTARG while getopts "${OPTSTRING}" opt; do - eval "opt_${opt}=\"\${OPTARG:-true}\"" + if [ "x${opt}" != 'x?' ]; then + eval "opt_${opt}=\"\${OPTARG:-true}\"" + fi unset OPTARG done |