diff options
| author | Kevin Lange <kevin.lange@dakko.us> | 2012-04-01 15:32:58 -0500 | 
|---|---|---|
| committer | Kevin Lange <kevin.lange@dakko.us> | 2012-04-01 15:32:58 -0500 | 
| commit | 0e34917dd9caaf8ec15270dd9aaf6de8d9db47cd (patch) | |
| tree | 05333bb0e63c4a0a10de703f191eb30af345a783 /src | |
| parent | ed320b7e75163e5a27aecebcdc1872b9ea51c691 (diff) | |
| download | nyancat-0e34917dd9caaf8ec15270dd9aaf6de8d9db47cd.tar.gz | |
Long options, help text for previous
Diffstat (limited to 'src')
| -rw-r--r-- | src/nyancat.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/nyancat.c b/src/nyancat.c index 189da54..d43a02f 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -283,6 +283,8 @@ void usage(char * argv[]) {  			" -i --intro      \033[3mShow the introduction / about informaiton at startup.\033[0m\n"  			" -t --telnet     \033[3mTelnet mode.\033[0m\n"  			" -n --no-counter \033[3mDo not display the timer\033[0m\n" +			" -s --no-title   \033[3mDo not set the titlebar text\033[0m\n" +			" -e --no-clear   \033[3mDo not clear the display between frames\033[0m\n"  			" -f --frames     \033[3mDisplay the requested number of frames, then quit\033[0m\n"  			" -r --min-rows   \033[3mCrop the animation from the top\033[0m\n"  			" -R --max-rows   \033[3mCrop the animation from the bottom\033[0m\n" @@ -314,6 +316,8 @@ int main(int argc, char ** argv) {  		{"telnet",     no_argument,       0, 't'},  		{"intro",      no_argument,       0, 'i'},  		{"no-counter", no_argument,       0, 'n'}, +		{"no-title",   no_argument,       0, 's'}, +		{"no-clear",   no_argument,       0, 'e'},  		{"frames",     required_argument, 0, 'f'},  		{"min-rows",   required_argument, 0, 'r'},  		{"max-rows",   required_argument, 0, 'R'}, | 
