aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/rtcwake.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c
index 718f43d45..c7d5a4c12 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -122,17 +122,16 @@ int rtcwake_main(int argc, char **argv)
122 int fd; 122 int fd;
123 123
124#if ENABLE_GETOPT_LONG 124#if ENABLE_GETOPT_LONG
125 static const char rtcwake_longopts[] ALIGN1 = 125 static const char rtcwake_longopts[] ALIGN1 =
126 "auto\0" No_argument "a" 126 "auto\0" No_argument "a"
127 "local\0" No_argument "l" 127 "local\0" No_argument "l"
128 "utc\0" No_argument "u" 128 "utc\0" No_argument "u"
129 "device\0" Required_argument "d" 129 "device\0" Required_argument "d"
130 "mode\0" Required_argument "m" 130 "mode\0" Required_argument "m"
131 "seconds\0" Required_argument "s" 131 "seconds\0" Required_argument "s"
132 "time\0" Required_argument "t" 132 "time\0" Required_argument "t"
133 ; 133 ;
134 applet_long_options = rtcwake_longopts; 134 applet_long_options = rtcwake_longopts;
135 }
136#endif 135#endif
137 opt = getopt32(argv, "alud:m:s:t:", &rtcname, &suspend, &opt_seconds, &opt_time); 136 opt = getopt32(argv, "alud:m:s:t:", &rtcname, &suspend, &opt_seconds, &opt_time);
138 137