diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-20 12:17:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-20 12:17:22 +0100 |
| commit | b779cbbe6806caccb73f21ac6aeba99316ca8900 (patch) | |
| tree | 1e0df416d7841096d632bd247f17c05b7abf0f9f /src/liballoc/alloc | |
| parent | f0eb4b4752424233e64b19ae242c052eaa65e1ce (diff) | |
| parent | ce56e7528359b9581cac0b59080d25468d60de20 (diff) | |
| download | rust-b779cbbe6806caccb73f21ac6aeba99316ca8900.tar.gz rust-b779cbbe6806caccb73f21ac6aeba99316ca8900.zip | |
Rollup merge of #67219 - jsgf:command-argv0-debug, r=joshtriplett
Fix up Command Debug output when arg0 is specified. PR https://github.com/rust-lang/rust/pull/66512 added the ability to set argv[0] on Command. As a side effect, it changed the Debug output to print both the program and argv[0], which in practice results in stuttery output (`"echo" "echo" "foo"`). This PR reverts the behaviour to the the old one, so that the command is only printed once - unless arg0 has been set. In that case it emits `"[command]" "arg0" "arg1" ...`.
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions
