Skip to content

Commit

Permalink
refactor: newlines in help text of env params
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Apr 25, 2024
1 parent b8ef208 commit 6da8306
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 0 additions & 1 deletion tests/snapshots/integration__env__env_help.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ENVIRONMENTS:




# BUILD_OUTPUT
All kinds of @env

Expand Down
4 changes: 0 additions & 4 deletions tests/snapshots/integration__env__env_help_subcmd.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -18,7 +17,6 @@ ENVIRONMENTS:




# BUILD_OUTPUT
USAGE: prog run

Expand All @@ -31,5 +29,3 @@ ENVIRONMENTS:
TEST_EFA choice from fn
TEST_EA override
TEST_NEW append


0 comments on commit 6da8306

Please sign in to comment.