From c97e23bd584fa0502c47576894a2cc1ab4d1327c Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 4 Jul 2017 12:38:22 +0200 Subject: [PATCH] initctl: Remove currently unused -d debug flag Signed-off-by: Joachim Nilsson --- src/initctl.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/initctl.c b/src/initctl.c index 8bef0f47..7efba9cd 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -53,7 +53,6 @@ typedef struct { int (*cb)(char *arg); } command_t; -int debug = 0; int verbose = 0; int runlevel = 0; @@ -573,7 +572,6 @@ static int usage(int rc) "Usage: %s [OPTIONS] \n" "\n" "Options:\n" - " -d, --debug Debug initctl (client)\n" " -v, --verbose Verbose output\n" " -h, --help This help text\n" "\n" @@ -652,16 +650,12 @@ int main(int argc, char *argv[]) }; progname(argv[0]); - while ((c = getopt_long(argc, argv, "dh?v", long_options, NULL)) != EOF) { + while ((c = getopt_long(argc, argv, "h?v", long_options, NULL)) != EOF) { switch(c) { case 'h': case '?': return usage(0); - case 'd': - debug = 1; - break; - case 'v': verbose = 1; break;