From 8f8f17068439b050857d2488b14c9cf14ac5522e Mon Sep 17 00:00:00 2001 From: LAMMJohnson Date: Sun, 26 Jun 2011 15:33:54 +0100 Subject: Updated help/README text to accurately reflect defaults --- README | 9 ++++----- nyan.c | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README b/README index 2e710a7..90afd79 100644 --- a/README +++ b/README @@ -1,11 +1,10 @@ Usage: nyancat [OPTIONS] -h, --help This help message - -f, --fullscreen Enable fullscreen mode - -nf, --nofullscreen Disable fullscreen mode (run in window, default) - -c, --catsize Choose size of cat, options are full and small, full is default + -f, --fullscreen Enable fullscreen mode (default) + -nf, --nofullscreen Disable fullscreen mode + -c, --catsize Choose size of cat, options are full and small. Small is default -nc, --nocursor Don't show the cursor (default) -sc, --cursor, --showcursor Show the cursor -ns, --nosound Don't play sound -r, --resolution Make next two arguments the screen resolution to use (0 and 0 for full resolution) (800x600 default) - -hw, -sw Use hardware or software SDL rendering, respectively, hardware is default - + -hw, -sw Use hardware or software SDL rendering, respectively. Hardware is default diff --git a/nyan.c b/nyan.c index daca2cd..de76145 100644 --- a/nyan.c +++ b/nyan.c @@ -514,14 +514,14 @@ static void usage(char* exname) { printf("Usage: %s [OPTIONS]\n\ -h, --help This help message\n\ - -f, --fullscreen Enable fullscreen mode\n\ - -nf, --nofullscreen Disable fullscreen mode (run in window, default)\n\ - -c, --catsize Choose size of cat, options are full and small, full is default\n\ + -f, --fullscreen Enable fullscreen mode (default)\n\ + -nf, --nofullscreen Disable fullscreen mode\n\ + -c, --catsize Choose size of cat, options are full and small. Small is default\n\ -nc, --nocursor Don't show the cursor (default)\n\ -sc, --cursor, --showcursor Show the cursor\n\ -ns, --nosound Don't play sound\n\ -r, --resolution Make next two arguments the screen resolution to use (0 and 0 for full resolution) (800x600 default)\n\ - -hw, -sw Use hardware or software SDL rendering, respectively, hardware is default\n", exname); + -hw, -sw Use hardware or software SDL rendering, respectively. Hardware is default\n", exname); exit(0); } -- cgit v1.2.3