mevdschee / 2048.c

Console version of the game "2048" for GNU/Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `--help` CLI argument

sohang3112 opened this issue · comments

Add command line help by identifying flags --help or -h. All CLI tools have these arguments, so it's a bit strange that 2048 doesn't.

True and some have -v or --version too :-)

All CLI tools have these arguments, so it's a bit strange that 2048 doesn't.

I'm unsure if that's necessary here, as the README is helpful, and the game is simple and intuitive. But it's still "good practice" in terms of design.

pedantic correction: It should be "parameters" rather than "arguments", in this case. Params are named arg values. But since help doesn't "store" any args, it should be referred-to as a "flag" or "switch"