4 ms·
Re: Go, it describes the flags with a single dash, but it will accept them with a double dash and a more traditional style (both --string "foo" and -string="foo
by 65a 8y ago
Re: Go, it describes the flags with a single dash, but it will accept them with a double dash and a more traditional style (both --string "foo" and -string="foo" are accepted, for instance)
- bayindirh 8y agoAccepting everything at the same time is very nice in theory, but in the optimal case, the library should be able to mimic at least some established conventions. Extreme flexibility becomes a burden after a certain point if it lacks adaptability. Standards are built for these reasons.