summaryrefslogtreecommitdiffstats
path: root/CLI/ruby
diff options
context:
space:
mode:
authora14m <[email protected]>2020-12-14 12:58:31 +0100
committera14m <[email protected]>2020-12-14 12:58:31 +0100
commitb7bc6ff98bae87409f28f9d8dc210a60998a2812 (patch)
treed40d98763e289c41289a33fc381147d7c91cee6d /CLI/ruby
parent5e988ecfc1ff1dea05ddf547e772b4a5615e7aac (diff)
Update the README with more examples and fix typo in --help
Diffstat (limited to 'CLI/ruby')
-rw-r--r--CLI/ruby/README.md8
1 files changed, 6 insertions, 2 deletions
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