Skip to content

Can't only use optional arguments? #68

Description

@ergpopler

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions