From 64d29067a0103befcfa69c4fa350c9bf13b42095 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Sun, 9 Feb 2014 00:37:51 -0800 Subject: [PATCH] Long-form option for skip-intro and update manpage --- nyancat.1 | 5 ++++- src/nyancat.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nyancat.1 b/nyancat.1 index d4d0b1c..e74c3f0 100644 --- a/nyancat.1 +++ b/nyancat.1 @@ -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 diff --git a/src/nyancat.c b/src/nyancat.c index 98b0192..787991f 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -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'},