Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
mitotic committed Sep 2, 2012
1 parent ba6a0f9 commit d651099
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion README.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 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: Sample screenshot of ``gcowsay`` in action within GraphTerm:


.. figure:: https://github.com/mitotic/gcowsay/raw/master/screenshots/gcowsay1.png .. figure:: https://github.com/mitotic/gcowsay/raw/master/screenshots/gcowsay1.png
:align: center :align: center
:width: 90% :width: 90%
:figwidth: 70% :figwidth: 90%


2 changes: 1 addition & 1 deletion gcowsay
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def ascii_output(text, options):
print cow_ascii print cow_ascii
sys.stdout.flush() sys.stdout.flush()


usage = "usage: %prog [-f] [-t] word1 word2 ..." usage = "usage: %prog [options] word1 word2 ..."
parser = OptionParser(usage=usage) parser = OptionParser(usage=usage)
parser.add_option("-f", "--fullwindow", parser.add_option("-f", "--fullwindow",
action="store_true", dest="fullwindow", default=False, action="store_true", dest="fullwindow", default=False,
Expand Down

0 comments on commit d651099

Please sign in to comment.