Skip to content

Commit c02937b

Browse files
author
Damien Nadé
committed
argsparse.sh: ARGSPARSE_COMPLETION_MODE: considering nounset ...
1 parent ac21a97 commit c02937b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

argsparse.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ argsparse_allow_no_argument() {
10301030
esac
10311031
}
10321032

1033-
if [[ $ARGSPARSE_COMPLETION_MODE ]]
1033+
if [[ ${ARGSPARSE_COMPLETION_MODE-} ]]
10341034
then
10351035
alias argsparse_parse_options='return 0 2>/dev/null || : '
10361036
else

0 commit comments

Comments
 (0)