sdk icon indicating copy to clipboard operation
sdk copied to clipboard

`dart help format -v` doesn't show the line length option

Open feinstein opened this issue 2 years ago • 3 comments

dart help format -v doesn't show the line length option -l.

feinstein avatar Nov 23 '23 01:11 feinstein

I think that's because the -l isn't an option for dart format, is that wrong?

srawlins avatar Nov 23 '23 15:11 srawlins

dart_style's bin/format.dart --help does show the option, so I've moved this issue to the SDK, which controls dart help.

srawlins avatar Nov 23 '23 16:11 srawlins

dart format --help doesn't list it either (regardless of -v), although I presume dart help format is an alias to that (or vice versa).

Why is dart help responsible for providing help for individual commands? Can dart help format/dart format --help not call or leverage dart_style's bin/format.dart --help?

jamesderlin avatar Jun 22 '24 05:06 jamesderlin