Skip to content

git summary --lines (should be --line) gives weird errors and wrong help #898

@davehartnoll

Description

@davehartnoll

Version: 6.1.0

Wrong parameter to summary resulted in confusing help (for shortlog):

─$ git summary --lines

 project  : xxxxx
 repo age : xx years
fatal: unrecognized argument: --lines
 active   :  days
fatal: unrecognized argument: --lines
 commits  : 0
 authors  :
error: unknown option `--lines'
usage: git shortlog [<options>] [<revision-range>] [[--] <path>...]
   or: git log --pretty=short | git shortlog [<options>]

    -c, --committer       Group by committer rather than author
    -n, --numbered        sort output according to the number of commits per author
    -s, --summary         Suppress commit descriptions, only provides commit count
    -e, --email           Show the email address of each author
    -w[<w>[,<i1>[,<i2>]]]
                          Linewrap output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions