@@ -159,7 +159,7 @@ static void usage(int exit_code)
159
159
" [-H <seconds>] Hop interval for polling of multiple frequencies (default: %d seconds)\n"
160
160
" [-p <ppm_error>] Correct rtl-sdr tuner frequency offset error (default: 0)\n"
161
161
" [-s <sample rate>] Set sample rate (default: %d Hz)\n"
162
- " [-D restart | pause | quit | manual] Input device run mode options.\n"
162
+ " [-D quit | restart | pause | manual] Input device run mode options (default: quit) .\n"
163
163
"\t\t= Demodulator options =\n"
164
164
" [-R <device> | help] Enable only the specified device decoding protocol (can be used multiple times)\n"
165
165
" Specify a negative number to disable a device decoding protocol (can be used multiple times)\n"
@@ -260,12 +260,12 @@ static void help_device_mode(void)
260
260
{
261
261
term_help_fprintf (stdout ,
262
262
"\t\t= Input device run mode =\n"
263
- " [-D restart | pause | quit | manual] Input device run mode options.\n"
263
+ " [-D quit | restart | pause | manual] Input device run mode options (default: quit) .\n"
264
264
"\tSupported input device run modes:\n"
265
+ "\t quit: Quit on input device errors (default)\n"
265
266
"\t restart: Restart the input device on errors\n"
266
267
"\t pause: Pause the input device on errors, waits for e.g. HTTP-API control\n"
267
- "\t quit: Quit on input device errors (default)\n"
268
- "\t manual: Don't start an input device, waits for e.g. HTTP-API control\n"
268
+ "\t manual: Do not start an input device, waits for e.g. HTTP-API control\n"
269
269
"\tWithout this option the default is to start the SDR and quit on errors.\n" );
270
270
exit (0 );
271
271
}
@@ -922,7 +922,7 @@ static void parse_conf_option(r_cfg_t *cfg, int opt, char *arg)
922
922
help_device_mode ();
923
923
924
924
if (strcmp (arg , "quit" ) == 0 ) {
925
- cfg -> dev_mode = DEVICE_MODE_RESTART ;
925
+ cfg -> dev_mode = DEVICE_MODE_QUIT ;
926
926
}
927
927
else if (strcmp (arg , "restart" ) == 0 ) {
928
928
cfg -> dev_mode = DEVICE_MODE_RESTART ;
0 commit comments