Sitelet https://github.com/flutter/flutter/issues/36484
Skip to content

[tool]--wrap-column flag has no effect #36484

Description

@bradyt

Related: #23074.

In the following, there is no wrapping of the option description.

> flutter help --wrap-column=80 --verbose | grep column
    --wrap-column              Sets the output wrap column. If not set, uses the width of the terminal. No wrapping occurs if not writing to a terminal. Use --no-wrap to turn off wrapping when connected to a terminal.

I was expecting option descriptions to be wrapped nicely to the specified column. So something like the following.

    --wrap-column              Sets the output wrap column. If not set, uses 
                               the width of the terminal. No wrapping occurs 
                               if not writing to a terminal. Use --no-wrap to 
                               turn off wrapping when connected to a terminal.

Nor does flutter help --wrap --wrap-column=80 --verbose | less work.

My environment is as follows.

> flutter --version
Flutter 1.7.8+hotfix.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b712a172f9 (9 days ago) • 2019-07-09 13:14:38 -0700
Engine • revision 54ad777fd2
Tools • Dart 2.4.0

I am using bash in Terminal.app.

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

    P2Important issues not at the top of the work lista: qualityA truly polished experiencefound in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions