wpa_cli: Embed command usage into the wpa_cli_commands array
authorEygene Ryabinkin <rea-fbsd@codelabs.ru>
Mon, 5 Jan 2009 19:32:48 +0000 (21:32 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Jan 2009 19:33:34 +0000 (21:33 +0200)
commitdfa141b1b0f851322cee398e86f9915252bb0f80
tree2d98b04f52d115ce9b87bc0a118fa8eb3bbdd09f
parent40fd868c09e908241f367a5753c753e7f68d89fd
wpa_cli: Embed command usage into the wpa_cli_commands array

It is better to have command description around the command definitions:
the chances for omitting usage, forgotting to change/delete them, etc.
are smaller than for the separate usage statement. [Bug 290]

Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
wpa_supplicant/wpa_cli.c