4 ms·
My favourite annoyance is using the option syntax for things that are not optional. If it really is a command, then require a command without the -- or -. Tod
by emmelaich 10y ago
My favourite annoyance is using the option syntax for things that are not optional.
If it really is a command, then require a command without the -- or -.
Today's examples:
1. centos6/redhat6 /sbin/chkconfig; it needs one of --list or --del or ... so why not just list or del or ?
2. the kafka command line tools, e.g. kafka-topics. It requires --create or --delete or --list ... So just use create/delete/list/... !
- restalis 10y ago"it needs one of --list or --del or ... so why not just list or del or ?" That's all good and everything but what about the parameters for which optional is only the explicit digression from an existing default value?