summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-06-07 21:57:20 +0000
committerbapt <bapt@FreeBSD.org>2015-06-07 21:57:20 +0000
commit65b30fab70c3b273f9797608833f522b5a12f43d (patch)
treeb96a72037293bea2a3f88582050e19a741969d24 /usr.sbin/pw/pw.c
parentb0235ac2ee534e2b1b0cf6d6bfb141458d57690a (diff)
downloadFreeBSD-src-65b30fab70c3b273f9797608833f522b5a12f43d.zip
FreeBSD-src-65b30fab70c3b273f9797608833f522b5a12f43d.tar.gz
Remove '-q' support for pw [user|group] next
the intent of -q in this command is to return as exit status the value of the next group/user id, which does not make sense given exit status are limited to values between 0 and 255.
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index 30fb55b..d75557e 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -113,7 +113,7 @@ main(int argc, char *argv[])
"R:V:C:qn:u:rY",
"R:V:C:qn:u:c:d:e:p:g:G:mM:l:k:s:w:L:h:H:FNPY",
"R:V:C:qn:u:FPa7",
- "R:V:C:q",
+ "R:V:C",
"R:V:C:q",
"R:V:C:q"
},
@@ -122,7 +122,7 @@ main(int argc, char *argv[])
"R:V:C:qn:g:Y",
"R:V:C:qn:d:g:l:h:H:FM:m:NPY",
"R:V:C:qn:g:FPa",
- "R:V:C:q"
+ "R:V:C"
}
};
@@ -469,8 +469,7 @@ cmdhelp(int mode, int which)
"usage: pw usernext [switches]\n"
"\t-V etcdir alternate /etc location\n"
"\t-R rootir alternate root directory\n"
- "\t-C config configuration file\n"
- "\t-q quiet operation\n",
+ "\t-C config configuration file\n",
"usage pw: lock [switches]\n"
"\t-V etcdir alternate /etc locations\n"
"\t-C config configuration file\n"
@@ -524,7 +523,6 @@ cmdhelp(int mode, int which)
"\t-V etcdir alternate /etc location\n"
"\t-R rootir alternate root directory\n"
"\t-C config configuration file\n"
- "\t-q quiet operation\n"
}
};
OpenPOWER on IntegriCloud