Skip to content

Commit

Permalink
fix: Prints local development when -h (#787)
Browse files Browse the repository at this point in the history
## Description

The tip is being printed only with `--help`, it should be available with
`-h` too.

## Type of Change

- [x] 🗑️ `chore` -- Chore
  • Loading branch information
AlexV525 authored Nov 6, 2024
1 parent 33d057f commit 9cc093f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/melos_dev.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../packages/melos/bin/melos.dart' as melos;
// A copy of packages/melos/bin/melos.dart
// This allows us to use melos on itself during development.
void main(List<String> arguments) async {
if (arguments.contains('--help')) {
if (arguments.contains('-h') || arguments.contains('--help')) {
// ignore_for_file: avoid_print
print('---------------------------------------------------------');
print('| You are running a local development version of melos. |');
Expand Down

0 comments on commit 9cc093f

Please sign in to comment.