Only display name of binary
Open
bug
good first issue
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
I'm having a weird issue with the generated help message: the command is with it's absolute path when I run `./target/debug/mycmd --help`
What am I doing wrong?
```
./target/debug/mycmd --help
Usage: ./target/debug/mycmd [] -a
MyCMD
Options:
-a, --address address
-p, --port port
--help display usage information
```
```rust
#[derive(FromArgs)]
/// MyCMD
struct Opt {
#[argh(option, short = 'a')]
/// address
address: String,
#[argh(option, short = 'p')]
/// port
port: Option,
#[argh(positional)]
/// script files to run
test_file: Vec,
}
```
Contributor guide
Assessment
This issue has not been assessed yet.