Skip to content

[FR] return X instead of exit X #43

Open
@rockandska

Description

@rockandska

Hi

Note that due to the above, docopts can't be used to parse shell function arguments: exit(1) quits the entire interpreter, not just the current function.

Would be really nice to add an option to use "return" instead of "exit" to be able to use docopts inside function too.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementwaiting for more exampleMore input is required to clarify the problem. Please add more example to reproduce the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions