chiark / gitweb /
checkpath.c: Allocate the state from a resource pool.
[checkpath] / chkpath.c
index e118c9ea84479c1d4fb0c8fd8683cc73d2643210..a7158d3c7efb3978fc7813e0f9dd957b630c3e03 100644 (file)
--- a/chkpath.c
+++ b/chkpath.c
@@ -88,7 +88,7 @@ Options provided are:\n\
 -q, --quiet            Be quiet about the search progress (cumulative).\n\
 -s, --sticky           Consider sticky directories secure against\n\
                        modification by world and group (not recommended).\n\
--t, --trust-group      Consider other members of your group trustworthy.\n\
+-t, --trust-groups     Consider other members of your group trustworthy.\n\
 -v, --verbose          Be verbose about the search progress (cumulative).\n\
 ",
        fp);
@@ -129,12 +129,12 @@ int main(int argc, char *argv[])
       { "print",       0,              0,      'p' },
       { "quiet",       0,              0,      'q' },
       { "sticky",      0,              0,      's' },
-      { "trust-group", 0,              0,      't' },
+      { "trust-groups",        0,              0,      't' },
       { "verbose",     0,              0,      'v' },
       { 0,             0,              0,      0 }
     };
-    int i = mdwopt(argc, argv, "hVu" "g:pqstv", opts, 0, 0, 0);
 
+    i = mdwopt(argc, argv, "hVu" "g:pqstv", opts, 0, 0, 0);
     if (i < 0)
       break;
     switch (i) {