mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
Small command line time tracker - openwrt port, patched for better help message.
This commit is contained in:
12
wtime/patches/wtime.patch
Normal file
12
wtime/patches/wtime.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- wtime/wtime.c 2006-06-17 14:29:37.000000000 +0200
|
||||
+++ wtimem/wtime.c 2010-12-08 20:20:18.692552915 +0100
|
||||
@@ -10,7 +10,8 @@
|
||||
|
||||
typedef enum { EMPTY, STARTED, STOPPED, UNKNOWN } Tstate;
|
||||
|
||||
-char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n";
|
||||
+//char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n";
|
||||
+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";
|
||||
|
||||
static int fgetlastl(FILE * fd, char *lbuf, int size)
|
||||
{
|
||||
Reference in New Issue
Block a user