aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2017-01-23 16:23:01 +0100
committerMarkus Reiter2017-01-23 16:23:01 +0100
commit2076b494a6233630025acd45d9a5766bd6bb785d (patch)
tree62524985c7f4fa3e3a27942ed06aede6b31790d7
parent2d5b659b0e4ba396f133156d368afc4fa1b8373c (diff)
downloadbrew-2076b494a6233630025acd45d9a5766bd6bb785d.tar.bz2
Add manpage entry for _appcast_checkpoint.
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb2
-rw-r--r--Library/Homebrew/manpages/brew-cask.1.md7
-rw-r--r--manpages/brew-cask.19
3 files changed, 17 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
index 915ec314b..790e917b2 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
@@ -50,7 +50,7 @@ module Hbc
end
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
def self.needs_init?
diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md
index f0a70d4a7..a2c9c8c16 100644
--- a/Library/Homebrew/manpages/brew-cask.1.md
+++ b/Library/Homebrew/manpages/brew-cask.1.md
@@ -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.**
+## 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
To make these options persistent, see the ENVIRONMENT section, below.
diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1
index 63aad2c56..9b217fed5 100644
--- a/manpages/brew-cask.1
+++ b/manpages/brew-cask.1
@@ -105,6 +105,15 @@ If the Cask definition contains a \fBzap\fR stanza, performs additional \fBzap\f
.
.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"
To make these options persistent, see the ENVIRONMENT section, below\.
.