Commit 3bbe52b9 authored by Dylan Araps's avatar Dylan Araps

Args: Fix regex

parent 70e74768
...@@ -3133,7 +3133,7 @@ exit 1 ...@@ -3133,7 +3133,7 @@ exit 1
get_args() { get_args() {
# Check the commandline flags early for '--config none/off' # 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 while [[ "$1" ]]; do
case "$1" in case "$1" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment