Put usage in the README.

This commit is contained in:
Murilo Pereira 2011-06-12 21:37:03 -03:00
parent 7db3251195
commit 0325778de4
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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");
}