From 9bc2dd29ad6ba334fd57a20114e367d3c04763d4 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 19 Aug 2024 00:39:53 +0200 Subject: fix: clean up flag help output (#24686) Permission flags are unified in a clearer and concise output. Unstable flags are hidden by default with exception of the `unstable` flag itself. the remaining unstable flags can be seen with a `--help=unstable`. This also cleans up to show unstable flags only for subcommands that actually need them. Also sorts flags alphabetically, and gorups various flags together in a set of categories. --------- Co-authored-by: crowlkats --- tests/integration/watcher_tests.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/integration/watcher_tests.rs') diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs index 6203a62d9..9685d7ae8 100644 --- a/tests/integration/watcher_tests.rs +++ b/tests/integration/watcher_tests.rs @@ -323,7 +323,6 @@ async fn lint_all_files_on_each_change_test() { .arg("lint") .arg(t.path()) .arg("--watch") - .arg("--unstable") .piped_output() .spawn() .unwrap(); @@ -470,7 +469,6 @@ async fn fmt_check_all_files_on_each_change_test() { .arg(t.path()) .arg("--watch") .arg("--check") - .arg("--unstable") .piped_output() .spawn() .unwrap(); -- cgit v1.2.3