Permalink
Browse files

Merge pull request #51 from sam7wx/master

Updated man page for an option
  • Loading branch information...
2 parents 0790ed6 + 50dc67d commit 627ac48a605a2100bb0a88097273db1bc82698a8 Andre Arko committed Jun 11, 2011
Showing with 21 additions and 11 deletions.
  1. +6 −2 man/gist.1
  2. +7 −5 man/gist.1.html
  3. +8 −4 man/gist.1.ron
View
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "GIST" "1" "May 2011" "GITHUB" "Gist Manual"
+.TH "GIST" "1" "June 2011" "GITHUB" "Gist Manual"
.
.SH "NAME"
\fBgist\fR \- gist on the command line
@@ -19,7 +19,7 @@ If standard input is supplied, it will be used as the content of the new gist\.
Once your gist is successfully created, the URL will be copied to your clipboard\. If you are on OS X, \fBgist\fR will open the gist in your browser, too\.
.
.SH "OPTIONS"
-\fBgist\fR\'s default mode of operation is to read content from standard input and create a public, text gist from it, tied to your GitHub account if you user and token are provided (see \fBCONFIGURATION\fR)\.
+\fBgist\fR\'s default mode of operation is to read content from standard input and create a public, text gist without description from it, tied to your GitHub account if you user and token are provided (see \fBCONFIGURATION\fR)\.
.
.P
These options can be used to change this behavior:
@@ -33,6 +33,10 @@ Create a private gist instead of a public gist\.
Set the file extension explicitly\. Passing a type of \fBrb\fR ensures the gist is created as a Ruby file\.
.
.TP
+\fB\-d\fR, \fB\-\-description\fR
+Set a description\.
+.
+.TP
\fB\-o\fR, \fB\-\-[no\-]open\fR
Open the gist in your browser after creation\. Or don\'t\. Defaults to \-\-open
.
View
@@ -98,15 +98,17 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<h2 id="OPTIONS">OPTIONS</h2>
<p><code>gist</code>'s default mode of operation is to read content from standard
-input and create a public, text gist from it, tied to your GitHub
-account if you user and token are provided (see <code>CONFIGURATION</code>).</p>
+input and create a public, text gist without description from it, tied
+to your GitHub account if you user and token are provided (see
+<code>CONFIGURATION</code>).</p>
<p>These options can be used to change this behavior:</p>
<dl>
<dt><code>-p</code>, <code>--private</code></dt><dd><p>Create a private gist instead of a public gist.</p></dd>
-<dt><code>-t</code>, <code>--type</code></dt><dd><p>Set the file extension explicitly. Passing a type of <code>rb</code> ensure
+<dt><code>-t</code>, <code>--type</code></dt><dd><p>Set the file extension explicitly. Passing a type of <code>rb</code> ensures
the gist is created as a Ruby file.</p></dd>
+<dt><code>-d</code>, <code>--description</code></dt><dd><p>Set a description.</p></dd>
<dt><code>-o</code>, <code>--[no-]open</code></dt><dd><p>Open the gist in your browser after creation. Or don't. Defaults
to --open</p></dd>
</dl>
@@ -125,7 +127,7 @@ <h2 id="AUTHENTICATION">AUTHENTICATION</h2>
<p>There are two ways to set GitHub user and token info:</p>
<ul>
-<li><p>Using env vars GITHUB_USER and GITHUB_TOKEN</p>
+<li><p>Using environment vars GITHUB_USER and GITHUB_TOKEN</p>
<p>$ export GITHUB_USER=johndoe<br />
$ export GITHUB_TOKEN=mysecretgithubtoken<br />
@@ -198,7 +200,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ol class='man-decor man-foot man foot'>
<li class='tl'>GITHUB</li>
- <li class='tc'>May 2011</li>
+ <li class='tc'>June 2011</li>
<li class='tr'>gist(1)</li>
</ol>
View
@@ -22,18 +22,22 @@ browser, too.
## OPTIONS
`gist`'s default mode of operation is to read content from standard
-input and create a public, text gist from it, tied to your GitHub
-account if you user and token are provided (see `CONFIGURATION`).
+input and create a public, text gist without description from it, tied
+to your GitHub account if you user and token are provided (see
+`CONFIGURATION`).
These options can be used to change this behavior:
* `-p`, `--private`:
Create a private gist instead of a public gist.
* `-t`, `--type`:
- Set the file extension explicitly. Passing a type of `rb` ensure
+ Set the file extension explicitly. Passing a type of `rb` ensures
the gist is created as a Ruby file.
+ * `-d`, `--description`:
+ Set a description.
+
* `-o`, `--[no-]open`:
Open the gist in your browser after creation. Or don't. Defaults
to --open
@@ -50,7 +54,7 @@ You may additionally ask for help:
There are two ways to set GitHub user and token info:
- * Using env vars GITHUB_USER and GITHUB_TOKEN
+ * Using environment vars GITHUB_USER and GITHUB_TOKEN
$ export GITHUB_USER=johndoe
$ export GITHUB_TOKEN=mysecretgithubtoken

0 comments on commit 627ac48

Please sign in to comment.