Changeset 1abcf1d in mainline for uspace/app/tmon/main.c


Ignore:
Timestamp:
2018-04-10T19:43:21Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a69d42e
Parents:
9fa14d8d
Message:

puts() should append newline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tmon/main.c

    r9fa14d8d r1abcf1d  
    127127static void print_usage(char *app_name)
    128128{
    129         puts(NAME ": benchmark USB diagnostic device\n\n");
     129        puts(NAME ": benchmark USB diagnostic device\n");
    130130        printf("Usage: %s command [device] [options]\n\n", app_name);
    131131
     
    134134        }
    135135
    136         puts("\n");
     136        puts("");
    137137        for (unsigned i = 0; i < ARRAY_SIZE(options); ++i) {
    138138                printf(INDENT "-%c --%s\n" INDENT INDENT "%s\n", options[i].short_name, options[i].long_name, options[i].description);
    139139        }
    140140
    141         puts("\nIf no device is specified, the first device is used provided that it is the only one connected. Otherwise, the command fails.\n\n");
     141        puts("\nIf no device is specified, the first device is used provided that it is the only one connected. Otherwise, the command fails.\n");
    142142}
    143143
Note: See TracChangeset for help on using the changeset viewer.