mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
main: Remove unneeded ssid command line argument
This commit is contained in:
parent
672be730c3
commit
ca5f5b2e2b
@ -52,13 +52,11 @@ static void usage(void)
|
||||
"Usage:\n");
|
||||
printf("\tiwd [options]\n");
|
||||
printf("Options:\n"
|
||||
"\t-S, --ssid <ssid> SSID of network\n"
|
||||
"\t-K, --kdbus Setup Kernel D-Bus\n"
|
||||
"\t-h, --help Show help options\n");
|
||||
}
|
||||
|
||||
static const struct option main_options[] = {
|
||||
{ "ssid", required_argument, NULL, 'S' },
|
||||
{ "kdbus", no_argument, NULL, 'K' },
|
||||
{ "version", no_argument, NULL, 'v' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
@ -80,9 +78,6 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
switch (opt) {
|
||||
case 'S':
|
||||
wiphy_set_ssid(optarg);
|
||||
break;
|
||||
case 'K':
|
||||
enable_kdbus = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user