Skip to content

Commit

Permalink
Merge pull request #2 from havocesp/man_git_count
Browse files Browse the repository at this point in the history
Man git count
  • Loading branch information
havocesp authored Dec 10, 2023
2 parents bc384be + 53ed453 commit c52e709
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion etc/bash_completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ _git_contrib(){
}

_git_count(){
__gitcomp "--all --full"
__gitcomp "--all --full -a -f"
}

__git_cp(){
Expand Down
11 changes: 10 additions & 1 deletion man/git-count.1
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
\fBgit\-count\fR \- Show commit count
.
.SH "SYNOPSIS"
\fBgit\-count\fR [\-\-all]
\fBgit\-count\fR [\-a\|\-\-all] [\-f\|\-\-full]
.
.SH "DESCRIPTION"
Show commit count\.
.
.SH "OPTIONS"
\-\-all
\-\-full
.
.P
Show commit count details\.
Expand Down Expand Up @@ -65,6 +66,14 @@ $ git count \-\-all
.
.fi
.
.nf

$ git count \-\-full

1904
.
.fi
.
.IP "" 0
.
.SH "AUTHOR"
Expand Down
8 changes: 7 additions & 1 deletion man/git-count.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion man/git-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ git-count(1) -- Show commit count

## SYNOPSIS

`git-count` [--all]
`git-count` [-a|--all] [-f|--full]

## DESCRIPTION

Expand All @@ -12,6 +12,7 @@ git-count(1) -- Show commit count
## OPTIONS

--all
--full

Show commit count details.

Expand All @@ -23,6 +24,12 @@ git-count(1) -- Show commit count
$ git count

total 1844

Output full commits total:

$ git count --full

1904

Output verbose commit count details:

Expand Down

0 comments on commit c52e709

Please sign in to comment.