MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / usage

Function usage

tests/ampctl.c:443–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441
442
443static void usage(FILE *fout)
444{
445 fprintf(fout, "Usage: ampctl [OPTION]... [COMMAND]...\n"
446 "Send COMMANDs to a connected amplifier.\n\n");
447
448 fprintf(fout,
449 " -m, --model=ID select amplifier model number. See model list (-l)\n"
450 " -r, --amp-file=DEVICE set device of the amplifier to operate on\n"
451 " -s, --serial-speed=BAUD set serial speed of the serial port\n"
452 " -t, --send-cmd-term=CHAR set send_cmd command termination char\n"
453 " -C, --set-conf=PARM=VAL[,...] set config parameters\n"
454 " -L, --show-conf list all config parameters\n"
455 " -l, --list list all model numbers and exit\n"
456 " -u, --dump-caps dump capabilities and exit\n"
457#ifdef HAVE_READLINE_HISTORY
458 " -i, --read-history read prior interactive session history\n"
459 " -I, --save-history save current interactive session history\n"
460#endif
461 " -v, --verbose set verbose mode, cumulative (-v to -vvvvv)\n"
462 " -Z, --debug-time-stamps enable time stamps for debug messages\n"
463 " -h, --help display this help and exit\n"
464 " -V, --version output version information and exit\n"
465 " - read commands from standard input\n"
466 "\n"
467 );
468
469 usage_amp(fout);
470}
471
472
473static void short_usage(FILE *fout)

Callers 1

mainFunction · 0.70

Calls 1

usage_ampFunction · 0.85

Tested by

no test coverage detected