added bold-color option and updated the README

reverse-branch
Christian Gießen 13 years ago
parent 8eb31f58e5
commit 0b1609f421
  1. 5
      README
  2. 1
      ttyclock.h

@ -1,10 +1,13 @@
usage : tty-clock [-sctrvih] [-C [0-7]] [-f format] usage : tty-clock [-sctrvihD] [-C [0-7]] [-f format]
-s Show seconds -s Show seconds
-c Set the clock at the center of the terminal -c Set the clock at the center of the terminal
-C [0-7] Set the clock color -C [0-7] Set the clock color
-b Use bold colors
-t Set the hour in 12h format -t Set the hour in 12h format
-r Do rebound the clock -r Do rebound the clock
-f format Set the date format -f format Set the date format
-v Show tty-clock version -v Show tty-clock version
-i Show some info about tty-clock -i Show some info about tty-clock
-h Show this page -h Show this page
-d delay Set the delay between two redraws of the clock
-D Hide date

@ -67,6 +67,7 @@ typedef struct
Bool date; Bool date;
char *format; char *format;
int color; int color;
Bool bold;
long delay; long delay;
} option; } option;

Loading…
Cancel
Save