Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Option parser with custom derive support

## Building

To include `gumdrop` in your project, add the following to your `Cargo.toml`:
To this fork, include `gumdrop` in your project, add the following to your `Cargo.toml`:

```toml
[dependencies]
gumdrop = "0.8"
# gumdrop = "0.8"
gumdrop = { git = "http://github.com/mousefad/rust-gumdrop.git" }
```

## License
Expand Down
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,14 @@ pub trait Options {
}
}

eprintln!("Usage: {}{} [OPTIONS]", args[0], command_str);
eprintln!();
eprintln!("{}", command.self_usage());
println!("Usage: {}{} [OPTIONS]", args[0], command_str);
println!();
println!("{}", command.self_usage());

if let Some(cmds) = command.self_command_list() {
eprintln!();
eprintln!("Available commands:");
eprintln!("{}", cmds);
println!();
println!("Available commands:");
println!("{}", cmds);
}

exit(0);
Expand Down