Add new select option to specify users by name.
[adu.git] / select.ggo
index a93007ad6ba207d501b4cc17feb337f3468bd332..5ea4e8e80825ef0193c0e69e02c9341f07683fd7 100644 (file)
@@ -1,11 +1,22 @@
+option "user" u
+#~~~~~~~~~~~~~~
+"users to take into account"
+string typestr="user_name"
+optional
+multiple
+details="
+       This option may be given multiple times in which case all given
+       user names are considered admissible. See also --uid below.
+"
 
-option "uid" u
+option "uid" U
 #~~~~~~~~~~~~~
 "user id(s) to take into account"
 string typestr="uid_spec"
 optional
 details="
-       An uid specifier may be a single number, or a range of uids.
+       An uid specifier may be a single uid, a range of uids,
+       or a comma-separated list of single uids or ranges.
        Example:
 
        Only consider uid 42:
@@ -19,6 +30,9 @@ details="
 
        Consider uids 23-42, 666-777 and 88:
                --uid 23-42,666-777,88
+
+       If no --user option is given and also --uid option is not given
+       (the default), all users are taken into account.
 "
 
 option "limit" L