kopia lustrzana https://github.com/Hamlib/Hamlib
Refactor to remove code duplication in rigctl*.c
rodzic
7fce140970
commit
67038154db
|
@ -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 <hamlib-developer@lists.sourceforge.net>.\n");
|
||||
|
||||
}
|
||||
|
|
|
@ -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 <hamlib-developer@lists.sourceforge.net>.\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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 <hamlib-developer@lists.sourceforge.net>.\n");
|
||||
|
||||
}
|
||||
|
|
|
@ -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 <hamlib-developer@lists.sourceforge.net>.\n");
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue