News for hackers. Stuff that matters.
Re:The growth of command-line options, 1979-Present by seemslegit on Tuesday March 03, 2020 @12:38PM (#22476741)
Brevity is a particularly false saving here if you factor in the time it takes to lookup documentation on something you don't use just often enough to have its command line options sit in your brains L1 cache.
Re:The growth of command-line options, 1979-Present by jolmg on Tuesday March 03, 2020 @01:00PM (#22476996)
> the time it takes to lookup documentation on something you don't use just often enough

Well, if I don't use it often, I'm not going to be looking at the documentation often. However, when I do, we're talking about the time it takes to type `man foo<enter>/bar<enter>`, where bar can be `keyword` or `--option\b`. That doesn't even take 30 secs.

Re:The growth of command-line options, 1979-Present by seemslegit on Tuesday March 03, 2020 @01:45PM (#22477490)
thirty seconds and a context switch to a man window is a lifetime, compare with an environment where I just type utiltiy.<tab> autocomplete to 'option', have an inline documentation displayed under the line and a seamless choice box that allows me to choose from several valid values for that option while displaying inline documentation for what each means.
Re:The growth of command-line options, 1979-Present by jolmg on Tuesday March 03, 2020 @01:52PM (#22477573)
I don't feel that kind of friction with man, but ok. That environment you describe is also common. Though I don't use it, in zsh, if I hit tab, I get that menu with inline documentation you describe. What are you arguing for anyway?
Re:The growth of command-line options, 1979-Present by seemslegit on Tuesday March 03, 2020 @03:16PM (#22478336)
that argv doesn't cut it ?
Re:The growth of command-line options, 1979-Present by jolmg on Tuesday March 03, 2020 @04:47PM (#22479034)
With that comment about a completion system with inline documentation? How does argv not cut it when zsh does what you described?
Re:The growth of command-line options, 1979-Present by seemslegit on Tuesday March 03, 2020 @06:09PM (#22479619)
Because it's still crude and unstructured - my program still has to operate on an array of strings, and I need to author zsh completion and matching voodoo have it distributed and do the same for everyone's shell of choice whereas I would like to be able to export a struct definition and have my program receive it populated with user input instead of argv