Created by: nanwu
Streamline the options parser:
- Reformat the usage as: lambdapp [options] source_file [target_file]
- Remove the -o option, put argument for output file at the end of command.
- reconsolidate the handling for illegal options.
Activity
Created by: Blub
While I can understand the desire to be
POSIXLY_CORRECT
(the&& !file
part in the option loop) I don't see why-o
should be removed even as an optional way. And removing the option-delimiter--
is never a good idea. Proper scripts are supposed to always make it clear what are options, and what are file parameters which could come from some place else and possibly even start with-
. Invocations of the formsomecommand --my --opts -- $USER_ARGS
are common and good practice, and should be supported.
Please register or sign in to reply