@@ -78,16 +78,15 @@ pub enum Subcommands {
78
78
/// It is useful to be able to observe environment variables that are set when running code
79
79
/// with tools such as `cargo` or `cross`. Commands like `cargo run -p internal-tools -- env`
80
80
/// include environment changes from `cargo` itself. With `cross`, changes are more extensive,
81
- /// due to the effect of `build.env.passthrough`, container customization, and existing special
81
+ /// due to effects of `build.env.passthrough`, container customization, and preexisting special
82
82
/// cases in wrapper scripts shipped in default `cross` containers (such as to `LD_PRELOAD`).
83
83
///
84
84
/// Since one use for checking environment variables is to investigate the effects of
85
85
/// environments that contain variable names or values that are not valid Unicode, this avoids
86
86
/// requiring that environment variables all be Unicode. Any name or value that is not Unicode
87
- /// is shown in its Rust debug representation. This is always quoted, and to decrease ambiguity
88
- /// any name or (more likely) value that contains literal double quotes is likewise shown in
89
- /// its debug representation so that it is always clear if a quotation mark is just for
90
- /// display. Each name and value is otherwise shown literally.
87
+ /// is shown in its Rust debug representation. This is always quoted. To decrease ambiguity,
88
+ /// any name or value containing a literal double quote or newline is also shown in its debug
89
+ /// representation. Names and values without such content are shown literally and not quoted.
91
90
#[ clap( visible_alias = "e" ) ]
92
91
Env { } ,
93
92
}
0 commit comments