Add missing space in directory help text (#3756)
diff --git a/lib/src/command/dependency_services.dart b/lib/src/command/dependency_services.dart
index 6815b0b..309fb1b 100644
--- a/lib/src/command/dependency_services.dart
+++ b/lib/src/command/dependency_services.dart
@@ -44,7 +44,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
@@ -284,7 +284,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/deps.dart b/lib/src/command/deps.dart
index 8b4514d..1a42671 100644
--- a/lib/src/command/deps.dart
+++ b/lib/src/command/deps.dart
@@ -67,7 +67,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/downgrade.dart b/lib/src/command/downgrade.dart
index 8a71c6a..b7411e4 100644
--- a/lib/src/command/downgrade.dart
+++ b/lib/src/command/downgrade.dart
@@ -47,7 +47,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/get.dart b/lib/src/command/get.dart
index 9294a28..0fc1b6e 100644
--- a/lib/src/command/get.dart
+++ b/lib/src/command/get.dart
@@ -55,7 +55,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/lish.dart b/lib/src/command/lish.dart
index edee17f..7ecb30b 100644
--- a/lib/src/command/lish.dart
+++ b/lib/src/command/lish.dart
@@ -90,7 +90,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/list_package_dirs.dart b/lib/src/command/list_package_dirs.dart
index 0922811..4fa6e8a 100644
--- a/lib/src/command/list_package_dirs.dart
+++ b/lib/src/command/list_package_dirs.dart
@@ -33,7 +33,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/outdated.dart b/lib/src/command/outdated.dart
index ad4343d..18ebf30 100644
--- a/lib/src/command/outdated.dart
+++ b/lib/src/command/outdated.dart
@@ -104,7 +104,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/remove.dart b/lib/src/command/remove.dart
index e277dec..894427f 100644
--- a/lib/src/command/remove.dart
+++ b/lib/src/command/remove.dart
@@ -57,7 +57,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/run.dart b/lib/src/command/run.dart
index 7d48a67..67920e1 100644
--- a/lib/src/command/run.dart
+++ b/lib/src/command/run.dart
@@ -50,7 +50,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/upgrade.dart b/lib/src/command/upgrade.dart
index 2d21e33..8957e5b 100644
--- a/lib/src/command/upgrade.dart
+++ b/lib/src/command/upgrade.dart
@@ -79,7 +79,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/lib/src/command/uploader.dart b/lib/src/command/uploader.dart
index 56bfc71..28ff85d 100644
--- a/lib/src/command/uploader.dart
+++ b/lib/src/command/uploader.dart
@@ -40,7 +40,7 @@
argParser.addOption(
'directory',
abbr: 'C',
- help: 'Run this in the directory<dir>.',
+ help: 'Run this in the directory <dir>.',
valueHelp: 'dir',
);
}
diff --git a/test/testdata/goldens/help_test/pub deps --help.txt b/test/testdata/goldens/help_test/pub deps --help.txt
index 475353f..3e8e27e 100644
--- a/test/testdata/goldens/help_test/pub deps --help.txt
+++ b/test/testdata/goldens/help_test/pub deps --help.txt
@@ -12,7 +12,7 @@
(defaults to on)
--executables List all available executables.
--json Output dependency information in a json format.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-deps for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub downgrade --help.txt b/test/testdata/goldens/help_test/pub downgrade --help.txt
index 4497da2..8e3a24f 100644
--- a/test/testdata/goldens/help_test/pub downgrade --help.txt
+++ b/test/testdata/goldens/help_test/pub downgrade --help.txt
@@ -11,7 +11,7 @@
--[no-]offline Use cached packages instead of accessing the network.
-n, --dry-run Report what dependencies would change but don't change
any.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-downgrade for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub get --help.txt b/test/testdata/goldens/help_test/pub get --help.txt
index 45d987b..80a482b 100644
--- a/test/testdata/goldens/help_test/pub get --help.txt
+++ b/test/testdata/goldens/help_test/pub get --help.txt
@@ -12,7 +12,7 @@
--enforce-lockfile Enforce pubspec.lock. Fail resolution if pubspec.lock
does not satisfy pubspec.yaml
--[no-]precompile Build executables in immediate dependencies.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-get for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub outdated --help.txt b/test/testdata/goldens/help_test/pub outdated --help.txt
index cf411bb..dc050f6 100644
--- a/test/testdata/goldens/help_test/pub outdated --help.txt
+++ b/test/testdata/goldens/help_test/pub outdated --help.txt
@@ -15,7 +15,7 @@
--[no-]show-all Include dependencies that are already
fullfilling --mode.
--[no-]transitive Show transitive dependencies.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-outdated for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub publish --help.txt b/test/testdata/goldens/help_test/pub publish --help.txt
index 14e83e2..621c940 100644
--- a/test/testdata/goldens/help_test/pub publish --help.txt
+++ b/test/testdata/goldens/help_test/pub publish --help.txt
@@ -8,7 +8,7 @@
-h, --help Print this usage information.
-n, --dry-run Validate but do not publish the package.
-f, --force Publish without confirmation if there are no errors.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-lish for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub remove --help.txt b/test/testdata/goldens/help_test/pub remove --help.txt
index 7d14ed0..3d9e6c1 100644
--- a/test/testdata/goldens/help_test/pub remove --help.txt
+++ b/test/testdata/goldens/help_test/pub remove --help.txt
@@ -10,7 +10,7 @@
-n, --dry-run Report what dependencies would change but don't change
any.
--[no-]precompile Precompile executables in immediate dependencies.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-remove for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub run --help.txt b/test/testdata/goldens/help_test/pub run --help.txt
index 5a888e9..0808247 100644
--- a/test/testdata/goldens/help_test/pub run --help.txt
+++ b/test/testdata/goldens/help_test/pub run --help.txt
@@ -11,7 +11,7 @@
given experiments enabled.
(Will disable snapshotting, resulting in
slower startup).
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-run for detailed documentation.
diff --git a/test/testdata/goldens/help_test/pub upgrade --help.txt b/test/testdata/goldens/help_test/pub upgrade --help.txt
index d33b3fd..af583b8 100644
--- a/test/testdata/goldens/help_test/pub upgrade --help.txt
+++ b/test/testdata/goldens/help_test/pub upgrade --help.txt
@@ -12,7 +12,7 @@
--[no-]precompile Precompile executables in immediate dependencies.
--major-versions Upgrades packages to their latest resolvable versions,
and updates pubspec.yaml.
--C, --directory=<dir> Run this in the directory<dir>.
+-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-upgrade for detailed documentation.
diff --git a/test/testdata/goldens/outdated/outdated_test/does not allow arguments - handles bad flags.txt b/test/testdata/goldens/outdated/outdated_test/does not allow arguments - handles bad flags.txt
index 10fe350..ad60ceb 100644
--- a/test/testdata/goldens/outdated/outdated_test/does not allow arguments - handles bad flags.txt
+++ b/test/testdata/goldens/outdated/outdated_test/does not allow arguments - handles bad flags.txt
@@ -15,7 +15,7 @@
[STDERR] --[no-]show-all Include dependencies that are already
[STDERR] fullfilling --mode.
[STDERR] --[no-]transitive Show transitive dependencies.
-[STDERR] -C, --directory=<dir> Run this in the directory<dir>.
+[STDERR] -C, --directory=<dir> Run this in the directory <dir>.
[STDERR]
[STDERR] Run "pub help" to see global options.
[STDERR] See https://dart.dev/tools/pub/cmd/pub-outdated for detailed documentation.
@@ -38,7 +38,7 @@
[STDERR] --[no-]show-all Include dependencies that are already
[STDERR] fullfilling --mode.
[STDERR] --[no-]transitive Show transitive dependencies.
-[STDERR] -C, --directory=<dir> Run this in the directory<dir>.
+[STDERR] -C, --directory=<dir> Run this in the directory <dir>.
[STDERR]
[STDERR] Run "pub help" to see global options.
[STDERR] See https://dart.dev/tools/pub/cmd/pub-outdated for detailed documentation.