Refactor to remove code duplication in ampctl*.c

pull/1858/head
Daniele Forsi IU5HKX 2025-08-15 18:08:06 +02:00
rodzic 67038154db
commit 90ffcadfa5
3 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -466,6 +466,4 @@ void usage()
); );
usage_amp(stdout); usage_amp(stdout);
printf("\nReport bugs to <hamlib-developer@lists.sourceforge.net>.\n");
} }

Wyświetl plik

@ -1492,6 +1492,8 @@ void usage_amp(FILE *fout)
"Commands and arguments read from standard input must be white space separated,\n" "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" "comments are allowed, comments start with the # character and continue to the\n"
"end of the line.\n"); "end of the line.\n");
fprintf(fout, "\nReport bugs to <hamlib-developer@lists.sourceforge.net>.\n");
} }

Wyświetl plik

@ -705,6 +705,4 @@ void usage()
portno); portno);
usage_amp(stdout); usage_amp(stdout);
printf("\nReport bugs to <hamlib-developer@lists.sourceforge.net>.\n");
} }