chiark / gitweb /
chkpath.c, chkpath.1: Rename `--trust-group' to `--trust-groups'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 8 Jul 2024 00:40:53 +0000 (01:40 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 17 Jul 2024 12:23:09 +0000 (13:23 +0100)
It trusts the supplementary groups too, so this is a better name.
Compatibility isn't broken, because `mdwopt' matches unambiguous
prefixes.

chkpath.1
chkpath.c

index fe4c96892362c57fe372fc03319d20371babda30..e4ab179ae0c1929f005f941cd9d1bc80d1f596ac 100644 (file)
--- a/chkpath.1
+++ b/chkpath.1
@@ -104,7 +104,7 @@ Turning this option on isn't recommended: if you use a sticky directory
 in your path then other people can add malicious commands whose names
 are common typos of standard ones.
 .TP
-.B "\-t, \-\-trust-group"
+.B "\-t, \-\-trust-groups"
 Modifies the ruleset slightly so that
 .B chkpath
 doesn't warn about directories group-owned by groups you're a member
index e118c9ea84479c1d4fb0c8fd8683cc73d2643210..c5ef46ebe48d1acbb1587419695f12f8886c645f 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,7 +129,7 @@ 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 }
     };