From e9d96232323ffc6b684e61c9169659d615db5082 Mon Sep 17 00:00:00 2001 From: Christopher Rasch-Olsen Raa Date: Thu, 20 Mar 2014 22:46:23 +0100 Subject: [PATCH 1/2] Corrected application parameter names --- 2048_curses.c | 4 ++-- 2048_no_curses.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2048_curses.c b/2048_curses.c index 6a39edf..b685bc2 100644 --- a/2048_curses.c +++ b/2048_curses.c @@ -310,8 +310,8 @@ int main(int argc, char **argv) " 2048 [options]\n" "\n" "Options:\n" - " -b Set the grid border length\n" - " -s Set the block spawn rate\n" + " -s Set the grid border length\n" + " -b Set the block spawn rate\n" " -c Enables color support\n"); exit(EXIT_SUCCESS); } diff --git a/2048_no_curses.c b/2048_no_curses.c index 0b87647..eea9441 100644 --- a/2048_no_curses.c +++ b/2048_no_curses.c @@ -281,8 +281,8 @@ int main(int argc, char **argv) " 2048 [options]\n" "\n" "Options:\n" - " -b Set the grid border length\n" - " -s Set the block spawn rate\n"); + " -s Set the grid border length\n" + " -b Set the block spawn rate\n"); exit(EXIT_SUCCESS); } } From 51845247e28171c9bd0f39df6af70a43aaba77d8 Mon Sep 17 00:00:00 2001 From: Tiehuis Date: Fri, 21 Mar 2014 12:32:01 +1300 Subject: [PATCH 2/2] Updating readme options overview --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 40c256a..66799d6 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ If you want to use the ncurses version, make sure that you have the required ncu ./2048 ## Options - -b Set the grid border length - -s Set the block spawn rate + -s Set the grid border length + -b Set the block spawn rate -r Resets hiscore. Will prompt user -c Enables color support (ncurses version only)