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

Allow Overlapping Option and Usage Flags for Documentation #248

@nixpulvis

Description

@nixpulvis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions