Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Allow Overlapping Option and Usage Flags for Documentation #248

Open
nixpulvis opened this issue Mar 24, 2019 · 0 comments
Open

Allow Overlapping Option and Usage Flags for Documentation #248

nixpulvis opened this issue Mar 24, 2019 · 0 comments

Comments

@nixpulvis
Copy link
Contributor

nixpulvis commented Mar 24, 2019

I'm trying to write the following doc string to have a form for the -s flag, and also provide it documentation.

Usage:
    oursh -c [options] <command_string> [<command_name> [<arguments>...]]

Options:
    -c  read commands from the `command_string` operand. set the value of
        special parameter 0 (see section 2.5.2, special parameters) from the
        value of the `command_name` operand and the positional parameters
        ($2, $2, and so on) in sequence from the remaining `arguments`
        operands. no commands shall be read from the standard input.

Is this possible?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant