wpa_supplicant: Fix usage text based on build options
Signed-hostap: Dan Williams <dcbw@redhat.com>
This commit is contained in:
parent
dcdd3838ef
commit
36bd29ee5e
1 changed files with 14 additions and 3 deletions
|
@ -22,13 +22,24 @@ static void usage(void)
|
||||||
int i;
|
int i;
|
||||||
printf("%s\n\n%s\n"
|
printf("%s\n\n%s\n"
|
||||||
"usage:\n"
|
"usage:\n"
|
||||||
" wpa_supplicant [-BddhKLqqstuvW] [-P<pid file>] "
|
" wpa_supplicant [-BddhKLqq"
|
||||||
|
#ifdef CONFIG_DEBUG_SYSLOG
|
||||||
|
"s"
|
||||||
|
#endif /* CONFIG_DEBUG_SYSLOG */
|
||||||
|
"t"
|
||||||
|
#ifdef CONFIG_DBUS
|
||||||
|
"u"
|
||||||
|
#endif /* CONFIG_DBUS */
|
||||||
|
"vW] [-P<pid file>] "
|
||||||
"[-g<global ctrl>] \\\n"
|
"[-g<global ctrl>] \\\n"
|
||||||
" [-G<group>] \\\n"
|
" [-G<group>] \\\n"
|
||||||
" -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] "
|
" -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] "
|
||||||
"[-p<driver_param>] \\\n"
|
"[-p<driver_param>] \\\n"
|
||||||
" [-b<br_ifname>] [-f<debug file>] [-e<entropy file>] "
|
" [-b<br_ifname>] [-e<entropy file>]"
|
||||||
"\\\n"
|
#ifdef CONFIG_DEBUG_FILE
|
||||||
|
" [-f<debug file>]"
|
||||||
|
#endif /* CONFIG_DEBUG_FILE */
|
||||||
|
" \\\n"
|
||||||
" [-o<override driver>] [-O<override ctrl>] \\\n"
|
" [-o<override driver>] [-O<override ctrl>] \\\n"
|
||||||
" [-N -i<ifname> -c<conf> [-C<ctrl>] "
|
" [-N -i<ifname> -c<conf> [-C<ctrl>] "
|
||||||
"[-D<driver>] \\\n"
|
"[-D<driver>] \\\n"
|
||||||
|
|
Loading…
Reference in a new issue