File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ # work_log
2+
3+ Log the active window and cursor position to a CSV file.
4+
5+ This can be used to analyze how you spend your time on your computer.
6+
7+
8+ ## Usage
9+
10+ ``` text
11+ Usage: work_log [OPTION]...
12+ Log the active window and cursor position to a CSV file.
13+
14+ Options:
15+ --frequency=SECONDS set the frequency of logging (default: 2.0)
16+ --file=FILE set the file to write to (default: ~/work_log.csv)
17+ --stdout print to stdout instead of a file
18+ --help display this help and exit
19+ ```
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ fn main() {
2121 println ! ( " --frequency=SECONDS set the frequency of logging (default: 2.0)" ) ;
2222 println ! ( " --file=FILE set the file to write to (default: ~/work_log.csv)" ) ;
2323 println ! ( " --stdout print to stdout instead of a file" ) ;
24+ println ! ( " --help display this help and exit" ) ;
2425 return ;
2526 }
2627 let freq = args
You can’t perform that action at this time.
0 commit comments