@@ -148,7 +148,6 @@ int main(const int argc, char **argv)
148
148
{"enable" , no_argument , NULL , 'e' },
149
149
{"server" , no_argument , NULL , 's' },
150
150
{"address" , required_argument , NULL , 'a' },
151
- {"listen" , required_argument , NULL , 'l' },
152
151
{"port" , required_argument , NULL , 'p' },
153
152
{"statedir" , required_argument , NULL , STATEDIR_OPT },
154
153
{"quiet" , no_argument , NULL , 'q' },
@@ -166,7 +165,7 @@ int main(const int argc, char **argv)
166
165
atexit (close_stdout );
167
166
rtc .argv = argv ;
168
167
169
- while ((c = getopt_long (argc , argv , "dmesa:l: p:qVh" , longopts , NULL )) != -1 ) {
168
+ while ((c = getopt_long (argc , argv , "dmesa:p:qVh" , longopts , NULL )) != -1 ) {
170
169
switch (c ) {
171
170
case 'd' :
172
171
rtc .new_state = STATE_DISABLE ;
@@ -180,8 +179,6 @@ int main(const int argc, char **argv)
180
179
case 's' :
181
180
server = 1 ;
182
181
break ;
183
- case 'l' : /* FIXME: to be removed after 2015-08-01 */
184
- warnx ("--listen is deprecated, use --address instead" );
185
182
case 'a' :
186
183
address = optarg ;
187
184
break ;
0 commit comments