rust/library
Matthias Krüger 76f968dadc
Rollup merge of #99100 - Smittyvb:test-cli-binary-name, r=thomcc
Fix binary name in help message for test binaries

Currently the help output for a test binary uses the first argument instead of the binary name in the help output:

```
$ cargo test -- --help
...
Usage: --help [OPTIONS] [FILTERS...]
...
```

This fixes it to use the name of the binary (or `...` if there is no binary name passed on argv):

```
$ cargo test -- --help
...
Usage: /tmp/x/target/debug/deps/x-80c11a15ad4e1bf3 [OPTIONS] [FILTERS...]
...
```
2022-07-10 11:52:16 +02:00
..
alloc Intra-doc-link-ify reference to Clone::clone_from 2022-07-08 22:47:07 +02:00
backtrace@4e5a3f7292
core Partially stabilize const_slice_from_raw_parts 2022-07-09 23:20:02 +02:00
panic_abort
panic_unwind
portable-simd
proc_macro review changes 2022-06-28 09:54:29 -04:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #98950 - ChrisDenton:getoverlapped-io, r=thomcc 2022-07-09 22:37:56 +00:00
stdarch@28335054b1
test Fix binary name in help message for test binaries 2022-07-09 18:52:37 -04:00
unwind update cfg(bootstrap)s 2022-07-01 15:48:23 +02:00