diff options
author | Piero Blunda <pieroblunda@gmail.com> | 2015-09-20 03:22:16 -0300 |
---|---|---|
committer | Piero Blunda <pieroblunda@gmail.com> | 2015-09-20 03:22:16 -0300 |
commit | 364a584cc3c7c9d33cc60823e5d66fae792c95e4 (patch) | |
tree | 57f0440d9c17751345ebb663812315c8e1cce2ec | |
parent | e1f08cdfd8f660bbc5f59221ed7ad4b4d7c07d7e (diff) | |
download | git-hours-364a584cc3c7c9d33cc60823e5d66fae792c95e4.zip git-hours-364a584cc3c7c9d33cc60823e5d66fae792c95e4.tar.gz git-hours-364a584cc3c7c9d33cc60823e5d66fae792c95e4.tar.bz2 |
Adding help
-rwxr-xr-x | index.js | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -86,7 +86,7 @@ function parseArgs() { ) .option( '-s, --since [Since date to analyze]', - 'Since date to start count hours. Default: ' + config.since, + 'Since date to start count hours. [always|yesterday|tonight|lastweek|yyyy-mm-dd] Default: ' + config.since, String ); @@ -105,6 +105,14 @@ function parseArgs() { console.log(''); console.log(' $ git hours --first-commit-add 300'); console.log(''); + console.log(' - Estimate hours work in repository since yesterday'); + console.log(''); + console.log(' $ git hours --since yesterday'); + console.log(''); + console.log(' - Estimate hours work in repository since 2015-01-31'); + console.log(''); + console.log(' $ git hours --since 2015-01-31'); + console.log(''); console.log(' For more details, visit https://github.com/kimmobrunfeldt/git-hours'); console.log(''); }); |