summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuy Elsmore-Paddock <guy@rosieapp.com>2017-07-31 14:49:33 -0400
committerGuy Elsmore-Paddock <guy@rosieapp.com>2017-07-31 14:49:33 -0400
commit1d4117af7a61329c09eb1e04edef99ed0bec49ec (patch)
tree77cfacfd675d798d8f90c880357e075356b42e9a /src
parent77cca390bc4efc447215f425d53618f11d02f85a (diff)
downloadgit-hours-1d4117af7a61329c09eb1e04edef99ed0bec49ec.zip
git-hours-1d4117af7a61329c09eb1e04edef99ed0bec49ec.tar.gz
git-hours-1d4117af7a61329c09eb1e04edef99ed0bec49ec.tar.bz2
Clean-up documentation and examples for new arg
Diffstat (limited to 'src')
-rwxr-xr-xsrc/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.js b/src/index.js
index 2c8fb2b..524d60e 100755
--- a/src/index.js
+++ b/src/index.js
@@ -108,7 +108,7 @@ function parseArgs() {
String
)
.option(
- '-b, --branch [branch name]',
+ '-b, --branch [branch-name]',
'Analyze only data on the specified branch. Default: ' + config.branch,
String
);
@@ -138,9 +138,9 @@ function parseArgs() {
console.log('');
console.log(' $ git hours --since 2015-01-31');
console.log('');
- console.log(' - Estimate hours work in repository on the "develop" branch');
+ console.log(' - Estimate hours work in repository on the "master" branch');
console.log('');
- console.log(' $ git hours --branch develop');
+ console.log(' $ git hours --branch master');
console.log('');
console.log(' For more details, visit https://github.com/kimmobrunfeldt/git-hours');
console.log('');