News for hackers. Stuff that matters.
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