瀏覽代碼

neofetch: Fix CI (long lines)

Dylan Araps 5 年之前
父節點
當前提交
a4bf721014
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      neofetch

+ 4 - 3
neofetch

@@ -3819,7 +3819,8 @@ image_backend() {
         *)
         *)
             err "Image: Unknown image backend specified '$image_backend'."
             err "Image: Unknown image backend specified '$image_backend'."
             err "Image: Valid backends are: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'kitty',
             err "Image: Valid backends are: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'kitty',
-                                            'off', 'sixel', 'pot', 'pixterm', 'termpix', 'tycat', 'w3m')"
+                                            'off', 'sixel', 'pot', 'pixterm', 'termpix', 'tycat',
+                                            'w3m')"
             err "Image: Falling back to ascii mode."
             err "Image: Falling back to ascii mode."
             print_ascii
             print_ascii
         ;;
         ;;
@@ -5071,8 +5072,8 @@ get_args() {
             # Image backend
             # Image backend
             "--backend") image_backend="$2" ;;
             "--backend") image_backend="$2" ;;
             "--source") image_source="$2" ;;
             "--source") image_source="$2" ;;
-            "--ascii" | "--caca" | "--chafa" | "--jp2a" | "--iterm2" | "--off" | "--pot" | "--pixterm" |\
-            "--sixel" | "--termpix" | "--tycat" | "--w3m" | "--kitty")
+            "--ascii" | "--caca" | "--chafa" | "--jp2a" | "--iterm2" | "--off" | "--pot" |\
+            "--pixterm" | "--sixel" | "--termpix" | "--tycat" | "--w3m" | "--kitty")
                 image_backend="${1/--}"
                 image_backend="${1/--}"
                 case $2 in
                 case $2 in
                     "-"* | "") ;;
                     "-"* | "") ;;