Skip to content
Snippets Groups Projects
Commit 2076b494 authored by Markus Reiter's avatar Markus Reiter
Browse files

Add manpage entry for _appcast_checkpoint.

parent 2d5b659b
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ module Hbc ...@@ -50,7 +50,7 @@ module Hbc
end end
def self.help def self.help
"prints (no flag) or calculates ('--calculate') a given Cask's (or URL's) appcast checkpoint" "prints or calculates a given Cask's or URL's appcast checkpoint"
end end
def self.needs_init? def self.needs_init?
......
...@@ -120,6 +120,13 @@ names, and other aspects of this manual are still subject to change. ...@@ -120,6 +120,13 @@ names, and other aspects of this manual are still subject to change.
**`zap` may remove files which are shared between applications.** **`zap` may remove files which are shared between applications.**
## INTERNAL COMMANDS
* `_appcast_checkpoint` [--calculate] [ <token> ... | <URL> ... ]:
Given a `token`, returns the current appcast checkpoint, or calculates
the appcast checkpoint if the `--calculate` flag is specified.
Given a `URL`, calculates the appcast checkpoint for it.
## OPTIONS ## OPTIONS
To make these options persistent, see the ENVIRONMENT section, below. To make these options persistent, see the ENVIRONMENT section, below.
......
...@@ -105,6 +105,15 @@ If the Cask definition contains a \fBzap\fR stanza, performs additional \fBzap\f ...@@ -105,6 +105,15 @@ If the Cask definition contains a \fBzap\fR stanza, performs additional \fBzap\f
. .
.IP "" 0 .IP "" 0
. .
.SH "INTERNAL COMMANDS"
.
.TP
\fB_appcast_checkpoint\fR [\-\-calculate] [ \fItoken\fR \.\.\. | \fIURL\fR \.\.\. ]
Given a \fBtoken\fR, returns the current appcast checkpoint, or calculates the appcast checkpoint if the \fB\-\-calculate\fR flag is specified\.
.
.br
Given a \fBURL\fR, calculates the appcast checkpoint for it\.
.
.SH "OPTIONS" .SH "OPTIONS"
To make these options persistent, see the ENVIRONMENT section, below\. To make these options persistent, see the ENVIRONMENT section, below\.
. .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment