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

Function usage

tests/rigctl.c:879–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877
878
879static void usage(FILE *fout)
880{
881 fprintf(fout, "Usage: rigctl [OPTION]... [COMMAND]...\n"
882 "Send COMMANDs to a connected radio transceiver or receiver.\n\n");
883
884 fprintf(fout,
885 " -m, --model=ID select radio model number. See model list (-l)\n"
886 " -r, --rig-file=DEVICE set device of the radio to operate on\n"
887 " -p, --ptt-file=DEVICE set device of the PTT device to operate on\n"
888 " -d, --dcd-file=DEVICE set device of the DCD device to operate on\n"
889 " -P, --ptt-type=TYPE set type of the PTT device to operate on\n"
890 " -D, --dcd-type=TYPE set type of the DCD device to operate on\n"
891 " -s, --serial-speed=BAUD set serial speed of the serial port\n"
892 " -c, --civaddr=ID set CI-V address, decimal (for Icom rigs only)\n"
893 " -t, --send-cmd-term=CHAR set send_cmd command termination char\n"
894 " -C, --set-conf=PARM=VAL[,...] set config parameters\n"
895 " -L, --show-conf list all config parameters\n"
896 " -l, --list list all model numbers and exit\n"
897 " -u, --dump-caps dump capabilities and exit\n"
898 " -o, --vfo do not default to VFO_CURR, require extra vfo arg\n"
899 " -n, --no-restore-ai do not restore auto information mode on rig\n"
900#ifdef HAVE_READLINE_HISTORY
901 " -i, --read-history read prior interactive session history\n"
902 " -I, --save-history save current interactive session history\n"
903#endif
904 " -v, --verbose set verbose mode, cumulative (-v to -vvvvv)\n"
905 " -Y, --ignore-err ignore rig_open errors\n"
906 " -Z, --debug-time-stamps enable time stamps for debug messages\n"
907 " -h, --help display this help and exit\n"
908 " -V, --version output version information and exit\n"
909 " -!, --cookie use cookie control\n"
910 " -#, --skip-init skip rig initialization\n"
911 " - read commands from standard input\n"
912 "\n"
913 );
914
915 usage_rig(fout);
916}
917
918
919static void short_usage(FILE *fout)

Callers 1

mainFunction · 0.70

Calls 1

usage_rigFunction · 0.85

Tested by

no test coverage detected