summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-08 05:27:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-08 05:27:34 +0000
commit562f29b535e9d397e2e41e40b2472cfb316d0eea (patch)
tree7c707837725b612c96300d61d6d56cadccccc204 /pw/pw.c
parent93e2d84797155e6f491c33d5c43f873dbc114511 (diff)
downloadpw-darwin-562f29b535e9d397e2e41e40b2472cfb316d0eea.tar.gz
pw-darwin-562f29b535e9d397e2e41e40b2472cfb316d0eea.tar.zst
pw-darwin-562f29b535e9d397e2e41e40b2472cfb316d0eea.zip
backout remove of -q option for pw [user|group] next
While the return code is broken, some corner case usage depends on the functionnality, so backout until we get better regression tests covering those corner case usage.
Diffstat (limited to 'pw/pw.c')
-rw-r--r--pw/pw.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pw/pw.c b/pw/pw.c
index b21f6c0..30fb55b 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:",
+ "R:V:C:q",
"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:"
+ "R:V:C:q"
}
};
@@ -469,7 +469,8 @@ 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-C config configuration file\n"
+ "\t-q quiet operation\n",
"usage pw: lock [switches]\n"
"\t-V etcdir alternate /etc locations\n"
"\t-C config configuration file\n"
@@ -523,6 +524,7 @@ 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"
}
};