tmpdir.c: Make the `-C PATH' option actually work.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 31 Mar 2015 10:55:41 +0000 (11:55 +0100)
Stupid typo in getopt(3) string.

tmpdir.c

index 71c7ab0..c7f4c5a 100644 (file)
--- a/tmpdir.c
+++ b/tmpdir.c
@@ -324,7 +324,7 @@ int main(int argc, char *argv[])
       { "group",       OPTF_ARGREQ,    0,      'g' },
       { 0,             0,              0,      0 }
     };
       { "group",       OPTF_ARGREQ,    0,      'g' },
       { 0,             0,              0,      0 }
     };
-    int i = mdwopt(argc, argv, "hVu" "bcvtg:c:", opts, 0, 0, 0);
+    int i = mdwopt(argc, argv, "hVu" "bcvtg:C:", opts, 0, 0, 0);
 
     if (i < 0)
       break;
 
     if (i < 0)
       break;