summaryrefslogtreecommitdiff
path: root/src/supervision/s6-svscanctl.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-27 16:42:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-27 16:42:27 +0000
commitbdef68e12278ddfc5080732bd3b28dd5135c9d3a (patch)
treede3d6f200294345cd7c439787bd2b974b5b6f893 /src/supervision/s6-svscanctl.c
parentb81af6ef42a9f559731d99c0d65ca5505fb6f910 (diff)
downloads6-bdef68e12278ddfc5080732bd3b28dd5135c9d3a.tar.xz
Prepare for 2.10.0.0 ; store preliminary changes to s6-svscan/ctl.
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 ;