diff options
author | Piero Blunda <pieroblunda@gmail.com> | 2015-09-20 03:29:28 -0300 |
---|---|---|
committer | Piero Blunda <pieroblunda@gmail.com> | 2015-09-20 03:29:28 -0300 |
commit | 258b25662378799b7ca42d582f8c4bfa87e58ca6 (patch) | |
tree | 230d4c608287bcbe252b3236d53bde59c436b8a3 | |
parent | 364a584cc3c7c9d33cc60823e5d66fae792c95e4 (diff) | |
download | git-hours-258b25662378799b7ca42d582f8c4bfa87e58ca6.zip git-hours-258b25662378799b7ca42d582f8c4bfa87e58ca6.tar.gz git-hours-258b25662378799b7ca42d582f8c4bfa87e58ca6.tar.bz2 |
Updating readme nad help
-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 ); |