diff --git a/src/command/mod.rs b/src/command/mod.rs index 5c7440d..5e46f8b 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -783,7 +783,6 @@ impl Command { value_size += 2; output.push("ENVIRONMENTS:".to_string()); render_list(&mut output, list, value_size, term_width); - output.push("".to_string()); output } diff --git a/tests/snapshots/integration__env__env_help.snap b/tests/snapshots/integration__env__env_help.snap index c98c790..e70e0a9 100644 --- a/tests/snapshots/integration__env__env_help.snap +++ b/tests/snapshots/integration__env__env_help.snap @@ -21,7 +21,6 @@ ENVIRONMENTS: - # BUILD_OUTPUT All kinds of @env diff --git a/tests/snapshots/integration__env__env_help_subcmd.snap b/tests/snapshots/integration__env__env_help_subcmd.snap index c9ebbf3..5e359f6 100644 --- a/tests/snapshots/integration__env__env_help_subcmd.snap +++ b/tests/snapshots/integration__env__env_help_subcmd.snap @@ -2,7 +2,6 @@ source: tests/env.rs expression: "format!(r#\"\n# OUTPUT\n{output}\n\n# BUILD_OUTPUT\n{build_output}\n\"#)" --- - # OUTPUT USAGE: envs run @@ -18,7 +17,6 @@ ENVIRONMENTS: - # BUILD_OUTPUT USAGE: prog run @@ -31,5 +29,3 @@ ENVIRONMENTS: TEST_EFA choice from fn TEST_EA override TEST_NEW append - -