From ca5f5b2e2b77db9919aa20a70432943f126a8e4f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 7 Nov 2014 21:37:09 -0600 Subject: [PATCH] main: Remove unneeded ssid command line argument --- src/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.c b/src/main.c index 21cd801f..ed6dd7d7 100644 --- a/src/main.c +++ b/src/main.c @@ -52,13 +52,11 @@ static void usage(void) "Usage:\n"); printf("\tiwd [options]\n"); printf("Options:\n" - "\t-S, --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;