hostapd_cli: Replace static usage string with print_help() function
authorMikael Kanstrup <mikael.kanstrup@sonymobile.com>
Thu, 7 Jul 2016 12:04:32 +0000 (14:04 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Aug 2016 09:17:37 +0000 (12:17 +0300)
commit01938838b5f1940d53fc8377a5fc3948288eb49e
tree8e7c19387b114c57db2b66412182835c5309b4fc
parent1f927cd4cf2e31d38cef9a71f3a4a317600750ea
hostapd_cli: Replace static usage string with print_help() function

Replace the static commands usage string with a print_help() function
that reads commands and help text from the array of defined cli
commands.

Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
hostapd/hostapd_cli.c