Skip to content

librarian: align -repo help text formatting with other flags #1904

@julieqiu

Description

@julieqiu

The help text for the -repo flag is currently indented inconsistently compared to other flags. It looks like this:

  -repo string
    	Code repository where the generated code will reside.
    				Can be a remote in the format of a remote URL such as
    				https://github.com/{owner}/{repo} or a local file path like
    				/path/to/repo. Both absolute and relative paths are supported.
    				If not specified, will try to detect if the current working
    				directory is configured as a language repository.

Note the uneven indentation and misalignment.

The help text should be left-aligned and match the style of other flags. For example:

  -repo string
      Code repository where the generated code will reside.
      Can be a remote in the form of a URL, such as
      https://github.com/{owner}/{repo}, or a local file path like
      /path/to/repo. Both absolute and relative paths are supported.
      If not specified, the current working directory will be checked to
      see if it is configured as a language repository.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions