News for hackers. Stuff that matters.
Re:The Poetics of CLI Command Names by PostPlummer on Wednesday June 10, 2020 @02:20AM (#23474487)
If we could just get a standard for -? or /? or --? I would be happy already.
Re:The Poetics of CLI Command Names by yjftsjthsd-h on Wednesday June 10, 2020 @09:25AM (#23476722)
We do? It's -a for short options, --foo for long options, and /too for DOS/Windows. Some commands break the standard and use -long, but that's their own bug.
Re:The Poetics of CLI Command Names by chuchurocka on Wednesday June 10, 2020 @03:01AM (#23474679)
same for -help / --help. And there are the rogue commands that use -? and --help for the same...
Re:The Poetics of CLI Command Names by jooize on Wednesday June 10, 2020 @09:06AM (#23476581)
Perhaps I don't understand what you are talking about. One hyphen for single-character combinable flags, and two hyphens for multi-character flags.