Skip to content

-m help text contains double spaces imported from curl's man page #40

Description

@korya

Problem

-m, --max-time int   Maximum  time  in seconds that you allow each request to take (default 20)
                            ^^     ^^

The double spaces are an artifact of copying from curl's man page, where they are troff formatting.

Suggested fix

cmd.PersistentFlags().IntP("max-time", "m", 20,
    "Maximum time in seconds that you allow each request to take")

Trivial, but it is the first thing a user sees in --help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions