Closed s2k closed 1 year ago
I think it depends on the tool. This Stackoverflow, for example, indicates that both styles are used in various contexts: https://unix.stackexchange.com/questions/573377/do-command-line-options-take-an-equals-sign-between-option-name-and-value
🌈 (Not a pull request, but still)
Current Behaviour
Thor apps, such as
rails
display options that come with an argument with an equals sign. In the example below, that's[--ruby=PATH]
Suggested Change
Use a space instead of the '=' in the help output, like this
Rationale
It seems to be common practice to not use the '=' sign, neither in practical usage, nor documentation.
Examples:
tailwindcss-rails
documentation at https://github.com/rails/tailwindcss-rails#installationNote
I'd be happy to work on & provide a corresponding PR, should I get the specs to pass.