diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-04-16 15:33:32 +0200 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2013-04-17 17:17:48 +0200 |
commit | 163c80bc7fd0ee3f407001ab01895c946d50c587 (patch) | |
tree | 5dc4a73ca5110ef2c96a3b74f7303437b81879a7 /utils | |
parent | 1bb29270ca09e9444630450fa134427e2b387cb3 (diff) | |
download | libndp-163c80bc7fd0ee3f407001ab01895c946d50c587.tar.gz |
add man page for ndptool
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ndptool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/ndptool.c b/utils/ndptool.c index fc0d307..091bc3b 100644 --- a/utils/ndptool.c +++ b/utils/ndptool.c @@ -136,9 +136,9 @@ static void print_help(const char *argv0) { "%s [options] command\n" "\t-h --help Show this help\n" "\t-v --verbose Increase output verbosity\n" - "\t-t --msg_type=TYPE Specified message type\n" - "\t-i --ifname=IFNAME Specified interface name\n" + "\t-t --msg-type=TYPE Specify message type\n" "\t (\"rs\", \"ra\", \"ns\", \"na\")\n" + "\t-i --ifname=IFNAME Specify interface name\n" "Available commands:\n" "\tmonitor\n" "\tsend\n", @@ -377,7 +377,7 @@ int main(int argc, char **argv) static const struct option long_options[] = { { "help", no_argument, NULL, 'h' }, { "verbose", no_argument, NULL, 'v' }, - { "msg_type", required_argument, NULL, 't' }, + { "msg-type", required_argument, NULL, 't' }, { "ifname", required_argument, NULL, 'i' }, { NULL, 0, NULL, 0 } }; |