main: Add basic help output
authorKarl Palsson <karlp@remake.is>
Wed, 3 Feb 2016 17:11:57 +0000 (17:11 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 3 Feb 2016 18:16:34 +0000 (19:16 +0100)
commit479ca5def5b6bd5c79de488806299064346e2339
tree86e71e1f99223f97a92e54fd1998d6a3a8a433ec
parent0c5f596da75c58a1fd0999133e18291a680dd040
main: Add basic help output

Add basic usage text to the binary and print it when invoked with -h
or with no arguments at all.

Signed-off-by: Karl Palsson <karlp@remake.is>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
main.c