]> skyeroc.xyz Git - dgamelaunch/commitdiff
install-dgl-nh500 now fails out if you give it an argument
authorSkyebee <sb24kelley@gmail.com>
Mon, 1 Jun 2026 16:13:30 +0000 (12:13 -0400)
committersbkelley <sb24kelley@gmail.com>
Mon, 1 Jun 2026 20:43:59 +0000 (16:43 -0400)
install-dgl-nh500

index 7729213aa2382c030c65aab76c2fef381bf52d13..b6c58076d658dc2cfde36172fe0c97811f8ba79d 100755 (executable)
@@ -137,14 +137,11 @@ while [[ $# -gt 0 ]]; do
       set --
       break
       ;;
-    -*|--*)
+    -*|--*|*)
       echo "Unknown option $1"
-      echo "Valid options are: --install-nh500, --nano, --quiet|--silent, --prefix <dir>, --var <dir>, --etc <dir>, --menudir <dir>, --hackdir <dir>, --playground <dir>"
+      echo "Try $0 --help"
       exit 1
       ;;
-    *)
-      break # (treat this as $1)
-      ;;
   esac
 done