Hacker News new | ask | show | jobs
by romeoblade 1338 days ago
I thought I was the only one who perfected long options! Are you me?

I've had coworkers call me out (not rude, just "hey you know you just use -l... instead of --longopt") on calls because I always use long options when available. I use the hyphen explanation all the time as I've ran into it a few times.

I also prefer CLI applications that are designed to use the "=" for arguments with long options. Applications which don't use "=" or respect it, irk me because the it's ambiguous... "Is that argument an argument or sub command" when looking through history.

1 comments

I don’t always use long options interactively, only sometimes, but I certainly try to always use it in scripts, for readability.