Browse Source

To avoid confusion, let's make it impossible to run makepanda without any of the --everything, --nothing, --use-*, --no-* flags.

rdb 15 years ago
parent
commit
4f1e88cc70
1 changed files with 3 additions and 1 deletions
  1. 3 1
      makepanda/makepanda.py

+ 3 - 1
makepanda/makepanda.py

@@ -148,7 +148,9 @@ def parseopts(args):
                     if (option=="--no-"+pkg.lower()):
                         PkgDisable(pkg)
                         break
-            anything = 1
+            if  (option=="--everything" or option.startswith("--use-")
+              or option=="--nothing" or option.startswith("--no-")):
+              anything = 1
     except: usage(0)
     if (anything==0): usage(0)
     if (RTDIST and RUNTIME):