Selaa lähdekoodia

img-chon.sh: Show help on invalid command

Frans Bergman 4 vuotta sitten
vanhempi
commit
cac04dc2de
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      .scripts/img-chon.sh

+ 1 - 1
.scripts/img-chon.sh

@@ -133,7 +133,7 @@ case $1 in
         echo "Number of distinct tags: $($SQL "SELECT COUNT(DISTINCT tag) FROM image_tag;")"
         echo "Database size: $(du -h "$DATABASE" | awk '{ print $1 }')"
         ;;
-    "")
+    **)
         name="$(basename "$0")"
         echo -e "Usage:"
         echo -e "  $name init                Create a new database."