Skip to content

Commit a54344a

Browse files
George G. Davisshuahkh
authored andcommitted
selftests: watchdog: cleanup whitespace in usage options
Convert hard spaces to tabs in usage options. Suggested-by: Shuah Khan <[email protected]> Signed-off-by: George G. Davis <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 861f47b commit a54344a

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

tools/testing/selftests/watchdog/watchdog-test.c

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,19 @@ static void term(int sig)
7070
static void usage(char *progname)
7171
{
7272
printf("Usage: %s [options]\n", progname);
73-
printf(" -f, --file Open watchdog device file\n");
74-
printf(" Default is /dev/watchdog\n");
75-
printf(" -b, --bootstatus Get last boot status (Watchdog/POR)\n");
76-
printf(" -d, --disable Turn off the watchdog timer\n");
77-
printf(" -e, --enable Turn on the watchdog timer\n");
78-
printf(" -h, --help Print the help message\n");
79-
printf(" -p, --pingrate=P Set ping rate to P seconds (default %d)\n", DEFAULT_PING_RATE);
80-
printf(" -t, --timeout=T Set timeout to T seconds\n");
81-
printf(" -T, --gettimeout Get the timeout\n");
82-
printf(" -n, --pretimeout=T Set the pretimeout to T seconds\n");
83-
printf(" -N, --getpretimeout Get the pretimeout\n");
84-
printf(" -L, --gettimeleft Get the time left until timer expires\n");
73+
printf(" -f, --file\t\tOpen watchdog device file\n");
74+
printf("\t\t\tDefault is /dev/watchdog\n");
75+
printf(" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n");
76+
printf(" -d, --disable\t\tTurn off the watchdog timer\n");
77+
printf(" -e, --enable\t\tTurn on the watchdog timer\n");
78+
printf(" -h, --help\t\tPrint the help message\n");
79+
printf(" -p, --pingrate=P\tSet ping rate to P seconds (default %d)\n",
80+
DEFAULT_PING_RATE);
81+
printf(" -t, --timeout=T\tSet timeout to T seconds\n");
82+
printf(" -T, --gettimeout\tGet the timeout\n");
83+
printf(" -n, --pretimeout=T\tSet the pretimeout to T seconds\n");
84+
printf(" -N, --getpretimeout\tGet the pretimeout\n");
85+
printf(" -L, --gettimeleft\tGet the time left until timer expires\n");
8586
printf("\n");
8687
printf("Parameters are parsed left-to-right in real-time.\n");
8788
printf("Example: %s -d -t 10 -p 5 -e\n", progname);

0 commit comments

Comments
 (0)