isotpsniffer.c: Reformat help/usage output to be compatible with help2man.

Gbp-Pq: Name 0017-isotpsniffer.c-Reformat-help-usage-output-to-be-comp.patch
pull/69/head
Alexander GQ Gerasiov 2020-04-11 13:46:56 +03:00 committed by Alexander Gerasiov
parent 9240ccfcb7
commit c61c9bc030
1 changed files with 9 additions and 8 deletions

View File

@ -69,7 +69,8 @@
void print_usage(char *prg)
{
fprintf(stderr, "\nUsage: %s [options] <CAN interface>\n", prg);
fprintf(stderr, "Options: -s <can_id> (source can_id. Use 8 digits for extended IDs)\n");
fprintf(stderr, "Options:\n");
fprintf(stderr, " -s <can_id> (source can_id. Use 8 digits for extended IDs)\n");
fprintf(stderr, " -d <can_id> (destination can_id. Use 8 digits for extended IDs)\n");
fprintf(stderr, " -x <addr> (extended addressing mode)\n");
fprintf(stderr, " -X <addr> (extended addressing mode - rx addr)\n");