Skip to content

Commit

Permalink
FEC: very small help improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Nov 27, 2023
1 parent 1b76001 commit 9ebb942
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/transmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,11 @@ static bool set_fec(struct tx *tx, const char *fec_const)
fec_cfg ? fec_cfg : "");
tx->fec_scheme = FEC_RS;
} else if(strcasecmp(fec, "help") == 0) {
std::cout << "Usage:\n"
"\t-f [A:|V:]{ mult:count | ldgm[:params] | rs[:params] }\n";
color_printf("Usage:\n");
color_printf("\t" TBOLD("-f [A:|V:]{mult:count|ldgm[:params]|"
"rs[:params]}") "\n");
color_printf("\nIf neither A: or V: is speciefied, FEC is set "
"to the video (backward compat).\n\n");
ret = false;
} else {
fprintf(stderr, "Unknown FEC: %s\n", fec);
Expand Down

0 comments on commit 9ebb942

Please sign in to comment.