Fix wrong option name. See issue #3.

This commit is contained in:
Bastian Kleineidam 2013-01-23 19:54:26 +01:00
parent 6477e570e1
commit 1311d8b662
4 changed files with 7 additions and 5 deletions

View file

@ -10,6 +10,8 @@ Changes:
- comics: CyanideAndHappiness image filename now has the strip number prefixed. - comics: CyanideAndHappiness image filename now has the strip number prefixed.
Fixes: Fixes:
- documentation: Fix wrong option name: it's -a instead of -c.
Closes: GH bug #3
- comics: Fix UnboundLocalError when using indexed retrieval. - comics: Fix UnboundLocalError when using indexed retrieval.
Closes: GH bug #4 Closes: GH bug #4
- scripts: Ensure the generated comic names do not exceed 100 characters so - scripts: Ensure the generated comic names do not exceed 100 characters so

View file

@ -39,7 +39,7 @@ Output brief help information.
List available comic modules in multi\-column fashion. List available comic modules in multi\-column fashion.
.TP .TP
\fB\-\-singlelist\fP \fB\-\-singlelist\fP
List available comic modules in single-column fashion. List available comic modules in single\-column fashion.
.TP .TP
\fB\-m\fP \fIMODULE\fP, \fB\-\-modulehelp=\fP\fIMODULE\fP \fB\-m\fP \fIMODULE\fP, \fB\-\-modulehelp=\fP\fIMODULE\fP
Output module-specific help for \fIMODULE\fP. Output module-specific help for \fIMODULE\fP.
@ -131,7 +131,7 @@ Retrieve the Penny Arcade strip for a given index:
Retrieve Calvin and Hobbes strips from a given index going backwards to Retrieve Calvin and Hobbes strips from a given index going backwards to
the beginning until an existing file is found: the beginning until an existing file is found:
.RS .RS
.B dosage \-c calvinandhobbes:20120722 .B dosage \-a calvinandhobbes:20120722
.RE .RE
.SH ENVIRONMENT .SH ENVIRONMENT
.IP HTTP_PROXY .IP HTTP_PROXY
@ -155,7 +155,7 @@ a program error occurred.
.IP \(bu .IP \(bu
comics could not be found or downloaded comics could not be found or downloaded
.IP \(bu .IP \(bu
the program run was aborted with Ctrl-C the program run was aborted with Ctrl\-C
.PP .PP
Else the return value is zero. Else the return value is zero.
.SH BUGS .SH BUGS

View file

@ -180,7 +180,7 @@ Retrieve the Penny Arcade strip for a given index:
Retrieve Calvin and Hobbes strips from a given index going backwards to Retrieve Calvin and Hobbes strips from a given index going backwards to
the beginning until an existing file is found: the beginning until an existing file is found:
<DL COMPACT><DT><DD> <DL COMPACT><DT><DD>
<B>dosage -c calvinandhobbes:20120722</B> <B>dosage -a calvinandhobbes:20120722</B>
</DL> </DL>

View file

@ -116,7 +116,7 @@ EXAMPLES
dosage pennyarcade:2004-07-22 dosage pennyarcade:2004-07-22
Retrieve Calvin and Hobbes strips from a given index going Retrieve Calvin and Hobbes strips from a given index going
backwards to the beginning until an existing file is found: backwards to the beginning until an existing file is found:
dosage -c calvinandhobbes:20120722 dosage -a calvinandhobbes:20120722
ENVIRONMENT ENVIRONMENT
HTTP_PROXY HTTP_PROXY