4 ms·
This is a good reminder that defaults should be simple and human readable. Advanced options should be behind flags for power users, not the other way around.
by dak1 8y ago
This is a good reminder that defaults should be simple and human readable.
Advanced options should be behind flags for power users, not the other way around.
- piotrkubisa 8y agoIndeed. I don't get it why `ip` has -brief which is not a default behavior and why -verbose flag does not exist. Also there could be a -no-color instead of -color flag.
- digi_owl 8y agoOr simply detect when piped and leave the color out, as just about every sane cli tool does it.
- wyldfire 8y agoAFAICT these options are new(er) and making them the default would likely be a backwards-incompatible change. I can see how it would be an uphill battle to convince the maintainers to introduce what appears to be a breaking change. That said, a new alias that does trigger these new behaviors as defaults would be a sane compromise.
- petre 8y agoJust update ip to emulate ifconfig and netstat when called as such, like busybox does. Or all of those MTAs that ship with a sendmail command.