<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,38 +18,64 @@ require ()
 
 help () 
 {
-  log 'Usage: 
-* Posting to GitHub via standard input:
-  $ cat file|gist.sh
-  $ gist.sh &lt; file
-or from a file:
-  $ gist.sh -f file
-or from the clipboard (xclip must be available):
-  $ gist.sh -c
-
-  * When reading from standard input or clipboard, the gist language can be set with -e:
-    $ gist.sh -e java &lt; file
-
-  * When reading from a file, github guesses the language based on the filename extension
-
-* Getting from GitHub:
-  $ gist.sh 1234
-or
-  $ gist.sh -f file 1234
-or
-  $ gist.sh -c 1234
-
-* Cloning a gist from GitHub (if -p is also specified make a clone using the private clone URL -- this
-  requires the gist to have been created with authentication):
-  $ gist.sh -l 1234
-
-* Debug mode: Specify -d to show the command that would be used to retrieve or post a gist to github.
-
-* Gists are public by default. Pass -p or --private to make a gist private.
-
-* If your git config contains github.user and github.token (see https://github.com/account), they
-  will be used to assign yourself as owner of the posted gist. Use the -a or --anon parameter to
-  post anonymously.
+  log 'Usage:
+
+  SYNOPSIS
+
+    Post gist:
+
+      gist.sh [-e &lt;extension&gt;] [-p] [-c] [-a] [-d]
+      gist.sh [-p] [-d] [-a] -f file
+
+    Retrieve gist:
+
+      gist.sh [-f &lt;file&gt; | -c] [-d] &lt;gist-id&gt;
+
+    Clone gist:
+
+      gist.sh [-l] [-p] [-d] &lt;gist-id&gt;
+
+  DESCRIPTION
+
+    With -f, gist.sh reads/writes files.
+
+    With -c, gist.sh reads/writes to the clipboard (xclip is required).
+
+    With -l, gist.sh clones the gist to a local git repository.
+
+    Otherwise, gist.sh reads/writes standard input/output.
+
+    If your git config contains github.user and github.token (see
+    https://github.com/account), they will be used to assign yourself as owner
+    of posted gists. Use the -a or --anon parameter to post anonymously.
+
+  OPTIONS
+
+    -f, --file
+        Read/write a gist from/to the specified file. Github guesses the gist
+        language from the filename, therefore -e is ignored.
+
+    -c, --clip
+        Read/write a gist from/to the clipboard.
+
+    -l, --clone
+        Clone a gist.
+
+    -e, --ext
+        When reading standard input or clipboard, specify an extension. Github
+        sets the gist language based on the extension e.g. &quot;java&quot;, &quot;rb&quot;, &quot;py&quot;.
+        Ignored if -f is specified.
+
+    -p, --private
+        Make a gist private. When cloning, use the private clone URL to clone
+        the gist. Requires the gist to be non-anonymous.
+
+    -a, --anon
+        Post a gist anonymously, even if Github authentication data is
+        available in the global git config.
+
+    -d, --debug
+        Debug mode. Nothing is actually read or written to Github.
 '
 }
 </diff>
      <filename>gist.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0a0a322d0c780dcbb03c5cf9d98a4dda9d12922a</id>
    </parent>
  </parents>
  <author>
    <name>Raman Gupta</name>
    <email>raman@rocketraman.com</email>
  </author>
  <url>http://github.com/gmarik/gist.sh/commit/43e823398e797509fd4ff59d36f82bb376ab088c</url>
  <id>43e823398e797509fd4ff59d36f82bb376ab088c</id>
  <committed-date>2009-02-09T20:57:50-08:00</committed-date>
  <authored-date>2009-02-09T20:57:50-08:00</authored-date>
  <message>Usage now shows man-like output

Should be easier for the user to grok the options list and
understand their interrelationships.</message>
  <tree>12c1933f4db0fadcb89959a26e954b6b3854fb57</tree>
  <committer>
    <name>Raman Gupta</name>
    <email>raman@rocketraman.com</email>
  </committer>
</commit>
