Args: Fix regex

This commit is contained in:
Dylan Araps 2016-12-16 12:50:39 +11:00
parent 70e74768b5
commit 3bbe52b93b
1 changed files with 1 additions and 1 deletions

View File

@ -3133,7 +3133,7 @@ exit 1
get_args() {
# Check the commandline flags early for '--config none/off'
[[ "$@" =~ \-\-config\ ?(off|none) ]] || get_user_config 2>/dev/null
[[ "$@" =~ --config\ ?(off|none) ]] || get_user_config 2>/dev/null
while [[ "$1" ]]; do
case "$1" in