diff --git a/README.md b/README.md index ff8566b..bc2d694 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ - C library with multibyte locales support - libncurses compiled with wide-char/UTF-8 code +## Usage + usage: ttysolitaire [-v|--version] [-h|--help] [-p|--passes=NUMBER] + -v, --version Show version + -h, --help Show this message + -p, --passes Number of passes through the deck + ## Running the game $ git clone https://github.com/mpereira/tty-solitaire.git $ cd tty-solitaire diff --git a/src/ttysolitaire.c b/src/ttysolitaire.c index 0816eca..d7baadc 100644 --- a/src/ttysolitaire.c +++ b/src/ttysolitaire.c @@ -23,7 +23,7 @@ void draw_greeting() { void usage() { printf("usage: %s [-v|--version] [-h|--help] [-p|--passes=NUMBER]\n", program_name); - printf(" -v, --version Show the version\n"); + printf(" -v, --version Show version\n"); printf(" -h, --help Show this message\n"); printf(" -p, --passes Number of passes through the deck\n"); }