diff --git a/crates/biome_cli/src/cli_options.rs b/crates/biome_cli/src/cli_options.rs index 74bf964cf50c..3a597122b1d6 100644 --- a/crates/biome_cli/src/cli_options.rs +++ b/crates/biome_cli/src/cli_options.rs @@ -18,7 +18,7 @@ pub struct CliOptions { #[bpaf(long("use-server"), switch, fallback(false))] pub use_server: bool, - /// Print additional diagnostics, and some diagnostics show more information. + /// Print additional diagnostics, and some diagnostics show more information. If any lints applied fixes, this flag will also print which files were fixed. #[bpaf(long("verbose"), switch, fallback(false))] pub verbose: bool, diff --git a/crates/biome_cli/tests/snapshots/main_commands_check/check_help.snap b/crates/biome_cli/tests/snapshots/main_commands_check/check_help.snap index d1269710408f..4c2d171969cb 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_check/check_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_check/check_help.snap @@ -125,7 +125,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution. diff --git a/crates/biome_cli/tests/snapshots/main_commands_ci/ci_help.snap b/crates/biome_cli/tests/snapshots/main_commands_ci/ci_help.snap index 0da38641072d..ba303e1ee613 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_ci/ci_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_ci/ci_help.snap @@ -127,7 +127,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution. diff --git a/crates/biome_cli/tests/snapshots/main_commands_format/format_help.snap b/crates/biome_cli/tests/snapshots/main_commands_format/format_help.snap index 7da09e0652e5..f98a2b3aa0be 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_format/format_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_format/format_help.snap @@ -84,7 +84,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution. diff --git a/crates/biome_cli/tests/snapshots/main_commands_lint/lint_help.snap b/crates/biome_cli/tests/snapshots/main_commands_lint/lint_help.snap index 9c2d79ca1890..0deb52864d42 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_lint/lint_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_lint/lint_help.snap @@ -44,7 +44,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution. diff --git a/crates/biome_cli/tests/snapshots/main_commands_migrate/migrate_help.snap b/crates/biome_cli/tests/snapshots/main_commands_migrate/migrate_help.snap index f3d0e8cff66f..0dfd00ee1943 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_migrate/migrate_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_migrate/migrate_help.snap @@ -15,7 +15,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution. diff --git a/crates/biome_cli/tests/snapshots/main_commands_rage/rage_help.snap b/crates/biome_cli/tests/snapshots/main_commands_rage/rage_help.snap index 4640bc0d77e5..8452a34b0fde 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_rage/rage_help.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_rage/rage_help.snap @@ -15,7 +15,8 @@ Global options applied to all commands console output is determined to be incompatible --use-server Connect to a running instance of the Biome daemon server. --verbose Print additional diagnostics, and some diagnostics show more - information. + information. If any lints applied fixes, this flag will also print + which files were fixed. --config-path=PATH Set the file path to the configuration file, or the directory path to find `biome.json` or `biome.jsonc`. If used, it disables the default configuration file resolution.