Skip to content

Option to accept multiple options not documented #70

@alerque

Description

@alerque

Setting the "default" value for an option to an empty table seems to enable that option to be specified multiple times and return a table instead of a string, but this does not seem to be documented:

cli:option("-f, --foo=VALUE", "set foo", {})

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