Args: Fix regex
This commit is contained in:
parent
70e74768b5
commit
3bbe52b93b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue