userinfo -v was removed from userinfo.8 and usage() a couple of years
ago. Remove it from user.8 as well as the code.
Sync synopsis of "user add -D ..." with useradd.8
I've also noticed a couple of cases where things are visible in the
local man pages but not in the online ones - to my untrained eye it
appears to be related to the Li macro.
1) useradd(8) is showing "-r low.." instead of "-r low..high" (Ok in user.8)
2) "=uid" is being dropped in the synopsis for the -g options
--- user.c.old Mon Jul 18 20:50:26 2011
+++ user.c Mon Jul 18 21:01:02 2011
@@ -2210,13 +2210,10 @@
int i;
exists = 0;
- while ((i = getopt(argc, argv, "ev")) != -1) {
+ while ((i = getopt(argc, argv, "e")) != -1) {
switch(i) {
case 'e':
exists = 1;
- break;
- case 'v':
- verbose = 1;
break;
default:
usermgmt_usage("userinfo");
--- user.8.old Mon Jul 18 20:50:21 2011
+++ user.8 Mon Jul 18 21:27:42 2011
@@ -46,8 +46,10 @@
.Op Fl e Ar expiry-time
.Op Fl f Ar inactive-time
.Op Fl g Ar gid | name | Li =uid
+.Op Fl k Ar skel-directory
.Op Fl L Ar login-class
.Op Fl r Ar low..high
+.Op Fl s Ar shell
.Ek
.Nm user
.Bk -words
@@ -78,7 +80,7 @@
.Ar user
.Nm user
.Cm info
-.Op Fl ev
+.Op Fl e
.Ar user
.Nm user
.Bk -words