Put usage in the README.
This commit is contained in:
parent
7db3251195
commit
0325778de4
@ -6,6 +6,12 @@
|
|||||||
- C library with multibyte locales support
|
- C library with multibyte locales support
|
||||||
- libncurses compiled with wide-char/UTF-8 code
|
- 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
|
## Running the game
|
||||||
$ git clone https://github.com/mpereira/tty-solitaire.git
|
$ git clone https://github.com/mpereira/tty-solitaire.git
|
||||||
$ cd tty-solitaire
|
$ cd tty-solitaire
|
||||||
|
@ -23,7 +23,7 @@ void draw_greeting() {
|
|||||||
|
|
||||||
void usage() {
|
void usage() {
|
||||||
printf("usage: %s [-v|--version] [-h|--help] [-p|--passes=NUMBER]\n", program_name);
|
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(" -h, --help Show this message\n");
|
||||||
printf(" -p, --passes Number of passes through the deck\n");
|
printf(" -p, --passes Number of passes through the deck\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user