Root/wtime/patches/wtime.patch

1--- wtime/wtime.c 2006-06-17 14:29:37.000000000 +0200
2+++ wtimem/wtime.c 2010-12-08 20:20:18.692552915 +0100
3@@ -10,7 +10,8 @@
4 
5 typedef enum { EMPTY, STARTED, STOPPED, UNKNOWN } Tstate;
6 
7-char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n";
8+//char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n";
9+char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nExamples:\n wt -a ... start counting\n wt -s ... stop counting\n wt -c ... show running time in seconds\n wt -r ... show spent time in seconds\n";
10 
11 static int fgetlastl(FILE * fd, char *lbuf, int size)
12 {
13

Archive Download this file



interactive