diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 14:13:52 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 23:00:58 +0100 |
commit | d9a5736bdfa9db29e94c5431bb8a9bc92a24585c (patch) | |
tree | 59095ed17fac70631b1135101f3e98c583363b2d /cmd/shutdown.c | |
parent | c14c3c0173d7bebeb3ccac687e49909164845d57 (diff) |
Remove some no longer needed cruft
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'cmd/shutdown.c')
-rw-r--r-- | cmd/shutdown.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/shutdown.c b/cmd/shutdown.c index cc14e61..546b076 100644 --- a/cmd/shutdown.c +++ b/cmd/shutdown.c @@ -17,7 +17,6 @@ static const struct option options[] = { { "help", no_argument, NULL, 'h' }, - { "version", no_argument, NULL, 'V' }, { "poweroff", no_argument, NULL, 'p' }, { "reboot", no_argument, NULL, 'r' }, { "force", no_argument, NULL, 'f' }, @@ -25,7 +24,7 @@ static const struct option options[] = { { NULL, 0, NULL, 0 }, }; -static const char *shortopt = "hVprfn"; +static const char *shortopt = "hprfn"; static const char *defact_str = "power-off"; static int defact = RB_POWER_OFF; @@ -78,8 +77,6 @@ int main(int argc, char **argv) case 'r': defact = RB_AUTOBOOT; break; - case 'V': - print_version(ptr); case 'h': usage(ptr, EXIT_SUCCESS); default: |