summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 21:57:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 21:57:20 +0000
commit81b2ca9d3cd92e908e6c7b81a98fd399546829c0 (patch)
treeb50fb15b9c9582c914d98164bfac1c915c6913fc /pw/pw.c
parent223ef3394cf724477520e801c506e253c3223c7d (diff)
downloadpw-darwin-81b2ca9d3cd92e908e6c7b81a98fd399546829c0.tar.gz
pw-darwin-81b2ca9d3cd92e908e6c7b81a98fd399546829c0.tar.zst
pw-darwin-81b2ca9d3cd92e908e6c7b81a98fd399546829c0.zip
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 'pw/pw.c')
-rw-r--r--pw/pw.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pw/pw.c b/pw/pw.c
index 30fb55b..d75557e 100644
--- a/pw/pw.c
+++ b/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"
}
};