Open IgorTodorovskiIBM opened 2 weeks ago
That would be nice :)
check the zothelper
under the prompters repo
whatever it does, it shouldn't say cleaning! The intention was to be consistent with other zopen verbs...
IBMUSER:/u/ibmuser #>zopen query
***ERROR: No option provided for query
IBMUSER:/u/ibmuser #>zopen clean
***ERROR: No option provided for cleaning
IBMUSER:/u/ibmuser #>zopen alt
***ERROR: Missing program argument
Just trying to find other examples to see what might be a consistent solution:
$:git config<CR> [displays a cutdown help, with --help displaying more detail
$:pip config<CR>
ERROR: Need an action (debug, edit, get, list, set, unset) to perform.
$:npm config<CR> - displays an oddly formatted help, with more detailed using --help]
For zopen consistency, I'd say report an error, but could be swayed if there was a strong argument for something else!
whatever it does, it shouldn't say cleaning! The intention was to be consistent with other zopen verbs...
IBMUSER:/u/ibmuser #>zopen query ***ERROR: No option provided for query IBMUSER:/u/ibmuser #>zopen clean ***ERROR: No option provided for cleaning IBMUSER:/u/ibmuser #>zopen alt ***ERROR: Missing program argument
Just trying to find other examples to see what might be a consistent solution:
$:git config<CR> [displays a cutdown help, with --help displaying more detail $:pip config<CR> ERROR: Need an action (debug, edit, get, list, set, unset) to perform. $:npm config<CR> - displays an oddly formatted help, with more detailed using --help]
For zopen consistency, I'd say report an error, but could be swayed if there was a strong argument for something else!
Perhaps we can enhance the messages with:
No option provided for config. Specify --help to view all available options.
Currently getting:
FYI @DevonianTeuchter