Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Doc update

  • Loading branch information...
commit d6510992baa3633d468d250cb415cc301d39a1d1 1 parent ba6a0f9
@mitotic authored
Showing with 16 additions and 2 deletions.
  1. +15 −1 README.rst
  2. +1 −1  gcowsay
View
16 README.rst
@@ -14,10 +14,24 @@ For more on ``cowsay``, see http://en.wikipedia.org/wiki/Cowsay
For more on GraphTerm, see https://github.com/mitotic/graphterm
+.. code::
+
+ Usage: gcowsay [options] word1 word2 ...
+ Options:
+ -h, --help show this help message and exit
+ -f, --fullwindow Fullwindow display
+ --fullpage Fullpage display
+ --popup Display popup
+ -t, --text Plain text (ASCII) display
+ -w WIDTH, --width=WIDTH Width for ASCII display (default: 40)
+ --think cowthink, instead of cowsay
+ --wait Wait, do not quit after display
+ -i IMAGE, --image=IMAGE Alternate image file
+
Sample screenshot of ``gcowsay`` in action within GraphTerm:
.. figure:: https://github.com/mitotic/gcowsay/raw/master/screenshots/gcowsay1.png
:align: center
:width: 90%
- :figwidth: 70%
+ :figwidth: 90%
View
2  gcowsay
@@ -275,7 +275,7 @@ def ascii_output(text, options):
print cow_ascii
sys.stdout.flush()
-usage = "usage: %prog [-f] [-t] word1 word2 ..."
+usage = "usage: %prog [options] word1 word2 ..."
parser = OptionParser(usage=usage)
parser.add_option("-f", "--fullwindow",
action="store_true", dest="fullwindow", default=False,
Please sign in to comment.
Something went wrong with that request. Please try again.