diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Makemodule.am | 1 | ||||
-rw-r--r-- | cmd/shutdown.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am index 07b50ce..c503215 100644 --- a/cmd/Makemodule.am +++ b/cmd/Makemodule.am @@ -2,7 +2,6 @@ shutdown_SOURCES = cmd/shutdown.c shutdown_CPPFLAGS = $(AM_CPPFLAGS) shutdown_CFLAGS = $(AM_CFLAGS) shutdown_LDFLAGS = $(AM_LDFLAGS) -shutdown_LDADD = libutil.a runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h runsvc_CPPFLAGS = $(AM_CPPFLAGS) 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: |