summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2005-08-25 15:11:28 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2005-08-25 15:11:28 +0000
commit6fda3b306c3c1b3c8875ad2f0f2e9e50659b1796 (patch)
tree55dd69b9586702ea171d445ae6f093df333db9cb
parent7c17ceb269306a3a3b7a856edf5df276eda1134a (diff)
downloadcanutils-6fda3b306c3c1b3c8875ad2f0f2e9e50659b1796.tar.gz
option parse fix
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunk@38 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--canecho.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/canecho.c b/canecho.c
index 4712e06..a80b908 100644
--- a/canecho.c
+++ b/canecho.c
@@ -33,6 +33,7 @@ void print_usage(char *prg)
" -t, --type=TYPE Socket type, see man 2 socket (default SOCK_RAW = %d)\n"
" -p, --protocol=PROTO CAN protocol (default CAN_PROTO_RAW = %d)\n"
" -v, --verbose be verbose\n"
+ " -h, --help this help\n"
" --version print version information and exit\n",
prg, PF_CAN, SOCK_RAW, CAN_PROTO_RAW);
}