Skip to content

Commit 37a5237

Browse files
authored
Merge pull request #198 from simopunkc/master
Updated documentation on how to properly use the since and until parameters.
2 parents ffc99bb + 9910307 commit 37a5237

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ Options:
114114
Examples:
115115
$ git-stats # Default behavior (stats in the last year)
116116
$ git-stats -l # Light mode
117-
$ git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now
118-
$ git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012
117+
$ git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now
118+
$ git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012
119119
120120
Your commit history is kept in ~/.git-stats by default. You can create
121121
~/.git-stats-config.js to specify different defaults.

bin/git-stats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ new Tilda(`${__dirname}/../package.json`, {
8484
, examples: [
8585
"git-stats # Default behavior (stats in the last year)"
8686
, "git-stats -l # Light mode"
87-
, "git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now"
88-
, "git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012"
87+
, "git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now"
88+
, "git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012"
8989
]
9090
, notes: "Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults."
9191
}).main(action => {

0 commit comments

Comments
 (0)