diff --git a/doc/tools/format-tool.md b/doc/tools/format-tool.md index 1960490c..ffa46cda 100644 --- a/doc/tools/format-tool.md +++ b/doc/tools/format-tool.md @@ -28,11 +28,11 @@ the current project. `FormatTool` can be run in 3 modes: - `FormatMode.overwrite` (default) - - e.g. `dartfmt -w .` + - e.g. `ddev format -w` - `FormatMode.dryRun` (lists files that would be changed) - - e.g. `dartfmt -n .` + - e.g. `ddev format -n` - `FormatMode.check` (dry-run _and_ sets the exit code if changes are needed) - - e.g. `dartfmt -n --set-exit-if-changed .` + - e.g. `ddev format -c` ```dart // tool/dart_dev/config.dart diff --git a/lib/src/tools/test_tool.dart b/lib/src/tools/test_tool.dart index 5fdfe21c..87af25d4 100644 --- a/lib/src/tools/test_tool.dart +++ b/lib/src/tools/test_tool.dart @@ -242,7 +242,7 @@ List buildArgs({ /// (either directly or via a command-line app). /// /// [context] is the execution context that would be provided by [TestTool] when -/// converted to a [DevToolCommand]. For tests, this can be manually creatd to +/// converted to a [DevToolCommand]. For tests, this can be manually created to /// to imitate the various CLI inputs. /// /// [configuredBuildArgs] will be populated from [TestTool.buildArgs]. diff --git a/lib/src/tools/webdev_serve_tool.dart b/lib/src/tools/webdev_serve_tool.dart index 84d63fed..a5f6caef 100644 --- a/lib/src/tools/webdev_serve_tool.dart +++ b/lib/src/tools/webdev_serve_tool.dart @@ -184,7 +184,7 @@ List buildArgs( /// /// [context] is the execution context that would be provided by /// [WebdevServeTool] when converted to a [DevToolCommand]. For tests, this can -/// be manually creatd to imitate the various CLI inputs. +/// be manually created to imitate the various CLI inputs. /// /// [configuredWebdevArgs] will be populated from [WebdevServeTool.webdevArgs]. ///