Fixed rigctl ignore error command line

pull/750/head
Lorenzo Santina 2021-07-26 01:40:34 +02:00 zatwierdzone przez GitHub
rodzic eab000306c
commit e48e16beb0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -86,7 +86,7 @@ static void usage(void);
* NB: do NOT use -W since it's reserved by POSIX.
* TODO: add an option to read from a file
*/
#define SHORT_OPTIONS "+m:r:p:d:P:D:s:c:t:lC:LuonvhVZ!"
#define SHORT_OPTIONS "+m:r:p:d:P:D:s:c:t:lC:LuonvhVYZ!"
static struct option long_options[] =
{
{"model", 1, 0, 'm'},
@ -104,7 +104,7 @@ static struct option long_options[] =
{"dump-caps", 0, 0, 'u'},
{"vfo", 0, 0, 'o'},
{"no-restore-ai", 0, 0, 'n'},
{"ignore rig open error", 0, 0, 'Y'},
{"ignore-err", 0, 0, 'Y'},
{"debug-time-stamps", 0, 0, 'Z'},
#ifdef HAVE_READLINE_HISTORY
{"read-history", 0, 0, 'i'},
@ -429,6 +429,7 @@ int main(int argc, char *argv[])
case 'Y':
ignore_rig_open_error = 1;
break;
case 'Z':
rig_set_debug_time_stamp(1);
@ -722,7 +723,7 @@ void usage(void)
" -I, --save-history save current interactive session history\n"
#endif
" -v, --verbose set verbose mode, cumulative (-v to -vvvvv)\n"
" -Y, --ignore_err ignore rig_open errors\n"
" -Y, --ignore-err ignore rig_open errors\n"
" -Z, --debug-time-stamps enable time stamps for debug messages\n"
" -h, --help display this help and exit\n"
" -V, --version output version information and exit\n"