diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-25 09:57:07 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-25 10:12:51 +0800 |
| commit | 1a01d4022a8d45aca5b7aab191a26a90c085fbe3 (patch) | |
| tree | d190cc77d4520e5cc754640b4392f717115c13bc /bin | |
| parent | fdf267e18108763bdd149ac103b7588d403940a7 (diff) | |
Update
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/task/context | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/task/context b/bin/task/context index 292eb00..83d1290 100755 --- a/bin/task/context +++ b/bin/task/context | |||
| @@ -141,6 +141,7 @@ _print_spend_time() { | |||
| 141 | 141 | ||
| 142 | if [ -n "$1" ]; then | 142 | if [ -n "$1" ]; then |
| 143 | _update_spend_time | 143 | _update_spend_time |
| 144 | { date; echo update with arg "$1"; } >>/tmp/context | ||
| 144 | else | 145 | else |
| 145 | _print_spend_time | 146 | _print_spend_time |
| 146 | fi | 147 | fi |