diff --git a/README.md b/README.md index 4d2c158..95d8f82 100644 --- a/README.md +++ b/README.md @@ -114,8 +114,8 @@ Options: Examples: $ git-stats # Default behavior (stats in the last year) $ 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' -u '31 December 2012' # All the commits from 2012 + $ 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 Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults. diff --git a/bin/git-stats b/bin/git-stats index a8ed15b..1c02c1c 100755 --- a/bin/git-stats +++ b/bin/git-stats @@ -84,8 +84,8 @@ new Tilda(`${__dirname}/../package.json`, { , examples: [ "git-stats # Default behavior (stats in the last year)" , "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' -u '31 December 2012' # All the commits from 2012" + , "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" ] , notes: "Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults." }).main(action => {