Without commas ( , ), the "--since" and "--until" parameter options in the command will have no effect.

Updated documentation on how to properly use the since and until parameters.
This commit is contained in:
simopunkc 2024-04-01 09:06:32 +07:00
parent ffc99bbc78
commit 9910307fd8
No known key found for this signature in database
GPG key ID: C9966D0B10667647
2 changed files with 4 additions and 4 deletions

View file

@ -114,8 +114,8 @@ Options:
Examples: Examples:
$ git-stats # Default behavior (stats in the last year) $ git-stats # Default behavior (stats in the last year)
$ git-stats -l # Light mode $ git-stats -l # Light mode
$ git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now $ git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now
$ git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012 $ git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012
Your commit history is kept in ~/.git-stats by default. You can create Your commit history is kept in ~/.git-stats by default. You can create
~/.git-stats-config.js to specify different defaults. ~/.git-stats-config.js to specify different defaults.

View file

@ -84,8 +84,8 @@ new Tilda(`${__dirname}/../package.json`, {
, examples: [ , examples: [
"git-stats # Default behavior (stats in the last year)" "git-stats # Default behavior (stats in the last year)"
, "git-stats -l # Light mode" , "git-stats -l # Light mode"
, "git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now" , "git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now"
, "git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012" , "git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012"
] ]
, notes: "Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults." , notes: "Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults."
}).main(action => { }).main(action => {