dart-lang / core

This repository is home to core Dart packages.
https://pub.dev/publishers/dart.dev
BSD 3-Clause "New" or "Revised" License
19 stars 7 forks source link

Incorrect message in `dart_site --help` #97

Open MaryaBelanger opened 9 months ago

MaryaBelanger commented 9 months ago

After the list of commands, it says:

Run "dart_site help \" for more information about a command.

But it should be:

Run "dart run dart_site help \" for more information about a command.

I can't find where that help message is in this repo though 🙃

atsansone commented 9 months ago

@MaryaBelanger : This appears to work as designed. The usage message is generated with this Dart file:

https://github.com/dart-lang/args/blob/master/lib/command_runner.dart

Specifically, line 36 that constructs the invocation line. That line should include the dart run prefix, but doesn't.

I'll move this to dart-lang/args