Skip to content

Commit 2076b49

Browse files
committed
Add manpage entry for _appcast_checkpoint.
1 parent 2d5b659 commit 2076b49

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def self.appcask_checkpoint(cask_tokens, calculate)
5050
end
5151

5252
def self.help
53-
"prints (no flag) or calculates ('--calculate') a given Cask's (or URL's) appcast checkpoint"
53+
"prints or calculates a given Cask's or URL's appcast checkpoint"
5454
end
5555

5656
def self.needs_init?

Library/Homebrew/manpages/brew-cask.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ names, and other aspects of this manual are still subject to change.
120120

121121
**`zap` may remove files which are shared between applications.**
122122

123+
## INTERNAL COMMANDS
124+
125+
* `_appcast_checkpoint` [--calculate] [ <token> ... | <URL> ... ]:
126+
Given a `token`, returns the current appcast checkpoint, or calculates
127+
the appcast checkpoint if the `--calculate` flag is specified.
128+
Given a `URL`, calculates the appcast checkpoint for it.
129+
123130
## OPTIONS
124131

125132
To make these options persistent, see the ENVIRONMENT section, below.

manpages/brew-cask.1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ If the Cask definition contains a \fBzap\fR stanza, performs additional \fBzap\f
105105
.
106106
.IP "" 0
107107
.
108+
.SH "INTERNAL COMMANDS"
109+
.
110+
.TP
111+
\fB_appcast_checkpoint\fR [\-\-calculate] [ \fItoken\fR \.\.\. | \fIURL\fR \.\.\. ]
112+
Given a \fBtoken\fR, returns the current appcast checkpoint, or calculates the appcast checkpoint if the \fB\-\-calculate\fR flag is specified\.
113+
.
114+
.br
115+
Given a \fBURL\fR, calculates the appcast checkpoint for it\.
116+
.
108117
.SH "OPTIONS"
109118
To make these options persistent, see the ENVIRONMENT section, below\.
110119
.

0 commit comments

Comments
 (0)