summaryrefslogtreecommitdiff
path: root/zebra/test_main.c
diff options
context:
space:
mode:
authorJeremy Jackson <jerj@coplanar.net>2008-12-28 12:57:42 -0500
committerPaul Jakma <paul@quagga.net>2009-06-18 22:11:41 +0100
commitc77cffdd69bf08ed54e390a3485cbd5024836a9a (patch)
tree42225904923a4b3457edd13a0eb84f0ea8581441 /zebra/test_main.c
parentc546afaed229106c2fcb54b57906414b9503dcc9 (diff)
[daemons/cleanup] Remove disabled log_mode argument support.
* */*main.c: Seems that the actual code was removed previously, but the argument processing code remained.
Diffstat (limited to 'zebra/test_main.c')
-rw-r--r--zebra/test_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/zebra/test_main.c b/zebra/test_main.c
index 46f73bbe..e186fea6 100644
--- a/zebra/test_main.c
+++ b/zebra/test_main.c
@@ -56,7 +56,6 @@ struct option longopts[] =
{
{ "batch", no_argument, NULL, 'b'},
{ "daemon", no_argument, NULL, 'd'},
- { "log_mode", no_argument, NULL, 'l'},
{ "config_file", required_argument, NULL, 'f'},
{ "help", no_argument, NULL, 'h'},
{ "vty_addr", required_argument, NULL, 'A'},
@@ -93,7 +92,6 @@ usage (char *progname, int status)
"-b, --batch Runs in batch mode\n"\
"-d, --daemon Runs in daemon mode\n"\
"-f, --config_file Set configuration file name\n"\
- "-l, --log_mode Set verbose log mode flag\n"\
"-A, --vty_addr Set vty's bind address\n"\
"-P, --vty_port Set vty's port number\n"\
"-r, --rib_hold Set rib-queue hold time\n"\
@@ -224,7 +222,7 @@ main (int argc, char **argv)
{
int opt;
- opt = getopt_long (argc, argv, "bdlf:hA:P:r:v", longopts, 0);
+ opt = getopt_long (argc, argv, "bdf:hA:P:r:v", longopts, 0);
if (opt == EOF)
break;
@@ -238,9 +236,6 @@ main (int argc, char **argv)
case 'd':
daemon_mode = 1;
break;
- case 'l':
- /* log_mode = 1; */
- break;
case 'f':
config_file = optarg;
break;