@@ -70,18 +70,19 @@ static void term(int sig)
70
70
static void usage (char * progname )
71
71
{
72
72
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" );
85
86
printf ("\n" );
86
87
printf ("Parameters are parsed left-to-right in real-time.\n" );
87
88
printf ("Example: %s -d -t 10 -p 5 -e\n" , progname );
0 commit comments