You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But often the usage of myprog includes other, non-option, arguments, such as a filename to read. So I'd like the first part to read (say) Usage: node myprog [OPTION] <filename>.
It would be nice to have a simpler way to do this than by copying the default this.help value from the source, modifying it as needed and feeding it to setHelp.
Maybe something like a setHelpExtraArgs('<filename>')?
The text was updated successfully, but these errors were encountered:
The help message that's autogenerated from the options is of the form
But often the usage of myprog includes other, non-option, arguments, such as a filename to read. So I'd like the first part to read (say)
Usage: node myprog [OPTION] <filename>
.It would be nice to have a simpler way to do this than by copying the default
this.help
value from the source, modifying it as needed and feeding it tosetHelp
.Maybe something like a
setHelpExtraArgs('<filename>')
?The text was updated successfully, but these errors were encountered: