@@ -181,8 +181,8 @@ static void usage(){
181181 printf (" \t\t devices connected (always works) and exit.\n " );
182182 printf (" --debug\t\t\t Enable debug logging\n " );
183183 printf (" --allow-heartless-wifi\t Allow WIFI devices without heartbeat to be listed (needed for WIFI pairing)\n " );
184- printf (" --nousb \t\t\t Do not start USBDeviceManager\n " );
185- printf (" --nowifi \t\t\t Do not start WIFIDeviceManager\n " );
184+ printf (" --no-usb \t\t\t Do not start USBDeviceManager\n " );
185+ printf (" --no-wifi \t\t\t Do not start WIFIDeviceManager\n " );
186186 printf (" \n " );
187187}
188188
@@ -203,8 +203,8 @@ static void parse_opts(int argc, const char **argv){
203203
204204 {" allow-heartless-wifi" , no_argument, NULL , 0 },
205205 {" debug" , no_argument, NULL , 0 },
206- {" nousb " , optional_argument, NULL , 0 },
207- {" nowifi " , optional_argument, NULL , 0 },
206+ {" no-usb " , optional_argument, NULL , 0 },
207+ {" no-wifi " , optional_argument, NULL , 0 },
208208 {NULL , 0 , NULL , 0 }
209209 };
210210 int optindex = 0 ;
@@ -227,10 +227,10 @@ static void parse_opts(int argc, const char **argv){
227227 gConfig ->allowHeartlessWifi = true ;
228228 }else if (curopt == " debug" ) {
229229 gConfig ->debugLevel ++;
230- }else if (curopt == " nousb " ) {
230+ }else if (curopt == " no-usb " ) {
231231 info (" Manually disableing USBDeviceManager" );
232232 gConfig ->enableUSBDeviceManager = (!optarg) ? false : atoi (optarg);
233- }else if (curopt == " nowifi " ) {
233+ }else if (curopt == " no-wifi " ) {
234234 info (" Manually disabling WIFIDeviceManager" );
235235 gConfig ->enableWifiDeviceManager = (!optarg) ? false : atoi (optarg);
236236 }
0 commit comments