Whamcloud - gitweb
Add -f to the short_opts. What was I smoking before, exactly?
authorshaver <shaver>
Fri, 11 Oct 2002 04:42:16 +0000 (04:42 +0000)
committershaver <shaver>
Fri, 11 Oct 2002 04:42:16 +0000 (04:42 +0000)
lustre/utils/lconf

index a06ea98..b933ad3 100755 (executable)
@@ -1456,7 +1456,7 @@ def doHost(lustreNode, hosts):
 # Command line processing
 #
 def parse_cmdline(argv):
-    short_opts = "hdnv"
+    short_opts = "hdnvf"
     long_opts = ["ldap", "reformat", "lustre=", "verbose", "gdb",
                  "portals=", "makeldiff", "cleanup", "noexec",
                  "help", "node=", "nomod", "nosetup",
@@ -1495,7 +1495,7 @@ def parse_cmdline(argv):
             config.nosetup(1)
         if o == "--dump":
             config.dump_file(a)
-        if o in ("--force", "-f"):
+        if o in ("-f", "--force"):
             config.force(1)
     return args