Long-form option for skip-intro and update manpage

This commit is contained in:
Kevin Lange 2014-02-09 00:37:51 -08:00
parent 3c2f770be2
commit 64d29067a0
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.TH NYANCAT 1 "May, 2012"
.TH NYANCAT 1 "February, 2013"
.SH NAME
nyancat \- terminal-based Pop Tart Cat animation
.SH SYNOPSIS
@ -15,6 +15,9 @@ of a VT220, simply dumps text to the screen.
.B \-i, \-\-intro
Show introduction / about information on startup.
.TP
.B \-I, \-\-skip\-intro
Skip the introduction in telnet mode.
.TP
.B \-t, \-\-telnet
Enable telnet mode.
.TP

View File

@ -326,6 +326,7 @@ int main(int argc, char ** argv) {
{"help", no_argument, 0, 'h'},
{"telnet", no_argument, 0, 't'},
{"intro", no_argument, 0, 'i'},
{"skip-intro", no_argument, 0, 'I'},
{"no-counter", no_argument, 0, 'n'},
{"no-title", no_argument, 0, 's'},
{"no-clear", no_argument, 0, 'e'},