summaryrefslogtreecommitdiff
path: root/src/supervision/s6-svscanctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supervision/s6-svscanctl.c')
-rw-r--r--src/supervision/s6-svscanctl.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/supervision/s6-svscanctl.c b/src/supervision/s6-svscanctl.c
index 3339c67..0d7a65d 100644
--- a/src/supervision/s6-svscanctl.c
+++ b/src/supervision/s6-svscanctl.c
@@ -4,7 +4,7 @@
#include <skalibs/strerr2.h>
#include <s6/s6-supervise.h>
-#define USAGE "s6-svscanctl [ -phratszbnNiq0678 ] svscandir"
+#define USAGE "s6-svscanctl [ -zabhitqnN ] svscandir"
#define dieusage() strerr_dieusage(100, USAGE)
#define DATASIZE 64
@@ -22,22 +22,15 @@ int main (int argc, char const *const *argv)
if (opt == -1) break ;
switch (opt)
{
- case 'p' :
- case 'h' :
- case 'r' :
- case 'a' :
- case 't' :
- case 's' :
case 'z' :
+ case 'a' :
case 'b' :
- case 'n' :
- case 'N' :
+ case 'h' :
case 'i' :
+ case 't' :
case 'q' :
- case '0' :
- case '6' :
- case '7' :
- case '8' :
+ case 'n' :
+ case 'N' :
{
if (datalen >= DATASIZE) strerr_dief1x(100, "too many commands") ;
data[datalen++] = opt ;