Skip to content

Feature Request: Allow Disabling or Controlling Help Text Wrapping #423

Description

@apstndb

Currently, help text wrapping is always enabled. If the terminal width can be obtained via ioctl, wrapping is done to the screen width; otherwise, it wraps at 80 characters. However, 80 characters is no longer a common standard, and this behavior is not ideal, especially when embedding help output into documentation such as README.md. I would like a way to disable wrapping or otherwise control the wrapping behavior.

Relevant files:

As a workaround, to automate embedding help output, I am currently not just running --help directly, but executing it inside a script command.
FYI: apstndb/spanner-mycli/README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions