diff options
-rw-r--r-- | README.md | 9 | ||||
-rwxr-xr-x | index.js | 4 |
2 files changed, 11 insertions, 2 deletions
@@ -101,6 +101,7 @@ Help -V, --version output the version number -d, --max-commit-diff [max-commit-diff] maximum difference in minutes between commits counted to one session. Default: 120 -a, --first-commit-add [first-commit-add] how many minutes first commit of session should add to total. Default: 120 + -s, --since [since-certain-date] Analyze data since certain date. [always|yesterday|tonight|lastweek|yyyy-mm-dd] Default: always' Examples: @@ -116,6 +117,14 @@ Help $ git hours --first-commit-add 300 + - Estimate hours work in repository since yesterday + + $ git hours --since yesterday + + - Estimate hours work in repository since 2015-01-31 + + $ git hours --since 2015-01-31 + For more details, visit https://github.com/kimmobrunfeldt/git-hours @@ -85,8 +85,8 @@ function parseArgs() { int ) .option( - '-s, --since [Since date to analyze]', - 'Since date to start count hours. [always|yesterday|tonight|lastweek|yyyy-mm-dd] Default: ' + config.since, + '-s, --since [since-certain-date]', + 'Analyze data since certain date. [always|yesterday|tonight|lastweek|yyyy-mm-dd] Default: ' + config.since, String ); |