Added -d to program usage outout and to README.

reverse-branch
Guenter Knauf 16 years ago
parent 4644b63064
commit df64a7fbb2
  1. 3
      README
  2. 2
      ttyclock.c

@ -1,4 +1,4 @@
usage : tty-clock [-sctrvih] [-C [0-7]] [-f format]
usage : tty-clock [-sctrvih] [-C [0-7]] [-f format] [-d delay]
-s Show seconds
-c Set the clock at the center of the terminal
-C [0-7] Set the clock color
@ -8,3 +8,4 @@ usage : tty-clock [-sctrvih] [-C [0-7]] [-f format]
-v Show tty-clock version
-i Show some info about tty-clock
-h Show this page
-d delay Set the delay between two redraws of the clock

@ -426,7 +426,7 @@ main(int argc, char **argv)
{
case 'h':
default:
printf("usage : tty-clock [-sctrvih] [-C [0-7]] [-f format] \n"
printf("usage : tty-clock [-sctrvih] [-C [0-7]] [-f format] [-d delay] \n"
" -s Show seconds \n"
" -c Set the clock at the center of the terminal \n"
" -C [0-7] Set the clock color \n"

Loading…
Cancel
Save