kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/Hamlib/Hamlib
commit
9a2cc9ff62
|
@ -86,7 +86,7 @@ static void usage(void);
|
||||||
* NB: do NOT use -W since it's reserved by POSIX.
|
* NB: do NOT use -W since it's reserved by POSIX.
|
||||||
* TODO: add an option to read from a file
|
* 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[] =
|
static struct option long_options[] =
|
||||||
{
|
{
|
||||||
{"model", 1, 0, 'm'},
|
{"model", 1, 0, 'm'},
|
||||||
|
@ -104,7 +104,7 @@ static struct option long_options[] =
|
||||||
{"dump-caps", 0, 0, 'u'},
|
{"dump-caps", 0, 0, 'u'},
|
||||||
{"vfo", 0, 0, 'o'},
|
{"vfo", 0, 0, 'o'},
|
||||||
{"no-restore-ai", 0, 0, 'n'},
|
{"no-restore-ai", 0, 0, 'n'},
|
||||||
{"ignore rig open error", 0, 0, 'Y'},
|
{"ignore-err", 0, 0, 'Y'},
|
||||||
{"debug-time-stamps", 0, 0, 'Z'},
|
{"debug-time-stamps", 0, 0, 'Z'},
|
||||||
#ifdef HAVE_READLINE_HISTORY
|
#ifdef HAVE_READLINE_HISTORY
|
||||||
{"read-history", 0, 0, 'i'},
|
{"read-history", 0, 0, 'i'},
|
||||||
|
@ -429,6 +429,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
case 'Y':
|
case 'Y':
|
||||||
ignore_rig_open_error = 1;
|
ignore_rig_open_error = 1;
|
||||||
|
break;
|
||||||
|
|
||||||
case 'Z':
|
case 'Z':
|
||||||
rig_set_debug_time_stamp(1);
|
rig_set_debug_time_stamp(1);
|
||||||
|
@ -722,7 +723,7 @@ void usage(void)
|
||||||
" -I, --save-history save current interactive session history\n"
|
" -I, --save-history save current interactive session history\n"
|
||||||
#endif
|
#endif
|
||||||
" -v, --verbose set verbose mode, cumulative (-v to -vvvvv)\n"
|
" -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"
|
" -Z, --debug-time-stamps enable time stamps for debug messages\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
" -V, --version output version information and exit\n"
|
" -V, --version output version information and exit\n"
|
||||||
|
|
Ładowanie…
Reference in New Issue