Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Please review options handling #638

Open
mgoritzk opened this issue Aug 2, 2018 · 1 comment
Open

Please review options handling #638

mgoritzk opened this issue Aug 2, 2018 · 1 comment

Comments

@mgoritzk
Copy link

mgoritzk commented Aug 2, 2018

This tool is great but a start with this tool would be much, much more easier, if the options handling would work basically the same.

Sometimes options works with only one "-" character, sometimes it is necessary to use two "-" characters. Sometimes the equal character is needed, sometimes not. Passing an option via command line is sometimes different than in the config file (e.g. upstream vs upstreams).

I am sure that unifying options handling and names will increase attention for this product enormously.

@ploxiln
Copy link
Contributor

ploxiln commented Aug 2, 2018

All command-line flags accept both one - and two --. All command-line flags work with an = or with a space before the value. This is the behavior of the go standard-library "flag" package. Any inconsistency is just in the documented examples.

Pluralization differences are intentional and meaningful, but there are a couple unintentional inconsistencies. See #363

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants