Args: Fix regex

master
Dylan Araps 9 years ago
parent 70e74768b5
commit 3bbe52b93b
  1. 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…
Cancel
Save