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

Function usage

tests/rotctld.c:706–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704
705
706static void usage(FILE *fout)
707{
708 fprintf(fout, "Usage: rotctld [OPTION]...\n"
709 "Daemon serving COMMANDs to a connected antenna rotator.\n\n");
710
711 fprintf(fout,
712 " -m, --model=ID select rotator model number. See model list (-l)\n"
713 " -r, --rot-file=DEVICE set device of the rotator to operate on\n"
714 " -R, --rot-file2=DEVICE set device of the 2nd rotator controller to operate on\n"
715 " -s, --serial-speed=BAUD set serial speed of the serial port\n"
716 " -t, --port=NUM set TCP listening port, default %s\n"
717 " -T, --listen-addr=IPADDR set listening IP address, default ANY\n"
718 " -C, --set-conf=PARM=VAL[,...] set config parameters\n"
719 " -o, --set-azoffset=VAL set offset for azimuth\n"
720 " -O, --set-eloffset=VAL set offset for elevation\n"
721 " -L, --show-conf list all config parameters\n"
722 " -l, --list list all model numbers and exit\n"
723 " -u, --dump-caps dump capabilities and exit\n"
724 " -v, --verbose set verbose mode, cumulative (-v to -vvvvv)\n"
725 " -Z, --debug-time-stamps enable time stamps for debug messages\n"
726 " -h, --help display this help and exit\n"
727 " -V, --version output version information and exit\n\n",
728 portno);
729
730 usage_rot(fout);
731}
732
733
734static void short_usage(FILE *fout)

Callers 1

mainFunction · 0.70

Calls 1

usage_rotFunction · 0.85

Tested by

no test coverage detected