From b7bc6ff98bae87409f28f9d8dc210a60998a2812 Mon Sep 17 00:00:00 2001 From: a14m Date: Mon, 14 Dec 2020 12:58:31 +0100 Subject: Update the README with more examples and fix typo in --help --- CLI/ruby/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'CLI/ruby') diff --git a/CLI/ruby/README.md b/CLI/ruby/README.md index 85ab018..b25cd0b 100644 --- a/CLI/ruby/README.md +++ b/CLI/ruby/README.md @@ -9,7 +9,11 @@ $ gem install terminal_game_of_life ## Usage -Run `$game-of-life -i https://gitlab.com/a14m --live-cell +` +```bash +$game-of-life -i https://gitlab.com/a14m.keys --live-cell + +$game-of-life -i /path/to/file.txt --height 35 --width 35 +$game-of-life -s 1337 --delay 250 +``` Check `game-of-life --help` for usage info. @@ -26,7 +30,7 @@ Options: [--height=HEIGHT] # Specify the hight of generated universe. (default to terminal height) [--dead-cell=CHAR] # Specify the dead-cell representation # Default: - [--live-cell=CHAR] # Specify the dead-cell representation + [--live-cell=CHAR] # Specify the live-cell representation # Default: █ -d, [--delay=Milli-Seconds] # Specify the introduced delay between each generation # Default: 50 -- cgit v1.2.3