Skip to content

Commit a0c7c86

Browse files
authored
Merge pull request #21082 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2 parents ee50964 + bf1203b commit a0c7c86

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

completions/bash/brew

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ _brew_contributions() {
853853
--from
854854
--help
855855
--organisation
856+
--quarter
856857
--quiet
857858
--repositories
858859
--team

completions/fish/brew.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ __fish_brew_complete_arg 'contributions' -l debug -d 'Display any debugging info
619619
__fish_brew_complete_arg 'contributions' -l from -d 'Date (ISO 8601 format) to start searching contributions. Omitting this flag searches the past year'
620620
__fish_brew_complete_arg 'contributions' -l help -d 'Show this message'
621621
__fish_brew_complete_arg 'contributions' -l organisation -d 'Specify the organisation to populate sources repositories from. Omitting this flag searches the Homebrew primary repositories'
622+
__fish_brew_complete_arg 'contributions' -l quarter -d 'Quarter to search (1-4). Omitting this flag searches the past year. If `--from` or `--to` are set, they take precedence'
622623
__fish_brew_complete_arg 'contributions' -l quiet -d 'Make some output more quiet'
623624
__fish_brew_complete_arg 'contributions' -l repositories -d 'Specify a comma-separated list of repositories to search. All repositories must be under the same user or organisation. Omitting this flag, or specifying `--repositories=primary`, searches only the main repositories: `Homebrew/brew`, `Homebrew/homebrew-core`, `Homebrew/homebrew-cask`'
624625
__fish_brew_complete_arg 'contributions' -l team -d 'Specify the team to populate users from. The first part of the team name will be used as the organisation'

completions/zsh/_brew

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ _brew_contributions() {
796796
'--from[Date (ISO 8601 format) to start searching contributions. Omitting this flag searches the past year]' \
797797
'--help[Show this message]' \
798798
'(--repositories --team)--organisation[Specify the organisation to populate sources repositories from. Omitting this flag searches the Homebrew primary repositories]' \
799+
'--quarter[Quarter to search (1-4). Omitting this flag searches the past year. If `--from` or `--to` are set, they take precedence]' \
799800
'--quiet[Make some output more quiet]' \
800801
'(--organisation)--repositories[Specify a comma-separated list of repositories to search. All repositories must be under the same user or organisation. Omitting this flag, or specifying `--repositories=primary`, searches only the main repositories: `Homebrew/brew`, `Homebrew/homebrew-core`, `Homebrew/homebrew-cask`]' \
801802
'(--organisation --user)--team[Specify the team to populate users from. The first part of the team name will be used as the organisation]' \

docs/Manpage.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2420,7 +2420,7 @@ Display the source of a *`formula`* or *`cask`*.
24202420

24212421
: Treat all named arguments as casks.
24222422

2423-
### `contributions` \[`--user=`\] \[`--repositories=`\] \[`--from=`\] \[`--to=`\] \[`--csv`\]
2423+
### `contributions` \[`--user=`\] \[`--repositories=`\] \[`--quarter=`\] \[`--from=`\] \[`--to=`\] \[`--csv`\]
24242424

24252425
Summarise contributions to Homebrew repositories.
24262426

@@ -2446,6 +2446,11 @@ Summarise contributions to Homebrew repositories.
24462446
: Specify the team to populate users from. The first part of the team name will
24472447
be used as the organisation.
24482448

2449+
`--quarter`
2450+
2451+
: Quarter to search (1-4). Omitting this flag searches the past year. If
2452+
`--from` or `--to` are set, they take precedence.
2453+
24492454
`--from`
24502455

24512456
: Date (ISO 8601 format) to start searching contributions. Omitting this flag

manpages/brew.1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ Treat all named arguments as formulae\.
15191519
.TP
15201520
\fB\-\-cask\fP
15211521
Treat all named arguments as casks\.
1522-
.SS "\fBcontributions\fP \fR[\fB\-\-user=\fP] \fR[\fB\-\-repositories=\fP] \fR[\fB\-\-from=\fP] \fR[\fB\-\-to=\fP] \fR[\fB\-\-csv\fP]"
1522+
.SS "\fBcontributions\fP \fR[\fB\-\-user=\fP] \fR[\fB\-\-repositories=\fP] \fR[\fB\-\-quarter=\fP] \fR[\fB\-\-from=\fP] \fR[\fB\-\-to=\fP] \fR[\fB\-\-csv\fP]"
15231523
Summarise contributions to Homebrew repositories\.
15241524
.TP
15251525
\fB\-\-user\fP
@@ -1534,6 +1534,9 @@ Specify the organisation to populate sources repositories from\. Omitting this f
15341534
\fB\-\-team\fP
15351535
Specify the team to populate users from\. The first part of the team name will be used as the organisation\.
15361536
.TP
1537+
\fB\-\-quarter\fP
1538+
Quarter to search (1\-4)\. Omitting this flag searches the past year\. If \fB\-\-from\fP or \fB\-\-to\fP are set, they take precedence\.
1539+
.TP
15371540
\fB\-\-from\fP
15381541
Date (ISO 8601 format) to start searching contributions\. Omitting this flag searches the past year\.
15391542
.TP

0 commit comments

Comments
 (0)