diff --git a/tests/rigctl.c b/tests/rigctl.c index 8db08d10c..0d5d772f9 100644 --- a/tests/rigctl.c +++ b/tests/rigctl.c @@ -910,14 +910,4 @@ void usage(void) ); usage_rig(stdout); - - printf("\nError codes and messages\n"); - - for (enum rig_errcode_e e = 0; e < RIG_EEND; ++e) - { - printf("-%d - %s", e, rigerror2(e)); - } - - printf("\nReport bugs to .\n"); - } diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index 711dd7502..689c90e0f 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -2005,6 +2005,15 @@ void usage_rig(FILE *fout) "Commands and arguments read from standard input must be white space separated,\n" "comments are allowed, comments start with the # character and continue to the\n" "end of the line.\n"); + + fprintf(fout, "\nError codes and messages\n"); + + for (enum rig_errcode_e e = 0; e < RIG_EEND; ++e) + { + fprintf(fout, "-%d - %s", e, rigerror2(e)); + } + + fprintf(fout, "\nReport bugs to .\n"); } diff --git a/tests/rigctld.c b/tests/rigctld.c index 778f24a70..31f65e94c 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -1448,15 +1448,4 @@ void usage(void) portno); usage_rig(stdout); - - printf("\nError codes and messages\n"); - - for (enum rig_errcode_e e = 0; e < RIG_EEND; ++e) - { - printf("-%d - %s", e, rigerror2(e)); - } - - - printf("\nReport bugs to .\n"); - } diff --git a/tests/rigctltcp.c b/tests/rigctltcp.c index 59c383677..e965a1a88 100644 --- a/tests/rigctltcp.c +++ b/tests/rigctltcp.c @@ -1451,15 +1451,4 @@ void usage(void) portno); usage_rig(stdout); - - printf("\nError codes and messages\n"); - - for (enum rig_errcode_e e = 0; e < RIG_EEND; ++e) - { - printf("-%d - %s", e, rigerror2(e)); - } - - - printf("\nReport bugs to .\n"); - }