cyberrumor / ammo

Almost Manual Mod Organizer - Linux MO for Bethesda Games
GNU General Public License v2.0
25 stars 6 forks source link

Adhere to POSIX / docopt standards for help menu #32

Closed cyberrumor closed 9 months ago

cyberrumor commented 9 months ago

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_01 http://docopt.org/

Currently the POSIX style help generator in the UI does not group mutually exclusive commands with parenthesis, which can allow for misinterpretation.

instead of

enable mod|plugin <index>

which can mean any of

enable mod 0
enable mod
enable plugin 0

group with parenthesis like this:

enable (mod|plugin) <index>

which can only be interpreted as

enable mod 0
enable plugin 0