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;
|
||||
printf("%s\n\n%s\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<group>] \\\n"
|
||||
" -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] "
|
||||
"[-p<driver_param>] \\\n"
|
||||
" [-b<br_ifname>] [-f<debug file>] [-e<entropy file>] "
|
||||
"\\\n"
|
||||
" [-b<br_ifname>] [-e<entropy file>]"
|
||||
#ifdef CONFIG_DEBUG_FILE
|
||||
" [-f<debug file>]"
|
||||
#endif /* CONFIG_DEBUG_FILE */
|
||||
" \\\n"
|
||||
" [-o<override driver>] [-O<override ctrl>] \\\n"
|
||||
" [-N -i<ifname> -c<conf> [-C<ctrl>] "
|
||||
"[-D<driver>] \\\n"
|
||||
|
|
Loading…
Reference in a new issue