lua_cliargs icon indicating copy to clipboard operation
lua_cliargs copied to clipboard

Can't only use optional arguments?

Open ergpopler opened this issue 4 years ago • 0 comments

Example of what should be done:

./prog.lua build

and

./prog.lua install

but if i make install and build both options i get the following error: mpm: bad number of arguments: 0 argument(s) must be specified, not 1; re-run with help for usage I can set build or install as arguments, but that makes both options REQUIRED, which is not what is wanted.

ergpopler avatar Jul 10 '21 05:07 ergpopler