summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 01:56:02 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 01:58:43 +0100
commit2fcc7988ea09b8505c0fbf134ecffe98e4c026b6 (patch)
tree08ce899248d37a102c3be14136ec7103c59b37a8 /zebra/main.c
parent82a011a0a78e8a81ec0e85ffee6224a92a339b86 (diff)
*: fix some option descriptions and make -e work
There were some typos in command line help, also the "e:" spec was missing for getopt in zebra/bgpd (even before the refactor). Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/zebra/main.c b/zebra/main.c
index bbfae3bb5b..b70ce7eda7 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -223,19 +223,20 @@ main (int argc, char **argv)
frr_preinit(&zebra_di, argc, argv);
- frr_opt_add("bakF:z:r"
+ frr_opt_add("bakF:z:e:r"
#ifdef HAVE_NETLINK
"s:"
#endif
, longopts,
- "-b, --batch Runs in batch mode\n"
- "-a, --allow_delete Allow other processes to delete Quagga Routes\n"
- "-F, --fpm_format Set fpm format to 'netlink' or 'protobuf'\n"
- "-z, --socket Set path of zebra socket\n"
- "-k, --keep_kernel Don't delete old routes which installed by zebra.\n"
- "-r, --retain When program terminates, retain added route by zebra.\n"
+ " -b, --batch Runs in batch mode\n"
+ " -a, --allow_delete Allow other processes to delete Quagga Routes\n"
+ " -F, --fpm_format Set fpm format to 'netlink' or 'protobuf'\n"
+ " -z, --socket Set path of zebra socket\n"
+ " -e, --ecmp Specify ECMP to use.\n"
+ " -k, --keep_kernel Don't delete old routes which installed by zebra.\n"
+ " -r, --retain When program terminates, retain added route by zebra.\n"
#ifdef HAVE_NETLINK
- "-s, --nl-bufsize Set netlink receive buffer size\n"
+ " -s, --nl-bufsize Set netlink receive buffer size\n"
#endif /* HAVE_NETLINK */
);