Skip to content

Commit

Permalink
cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasholder committed Apr 2, 2020
1 parent 3c81d4b commit c1044ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,14 @@ fn main() {
"Round #")
)
(@subcommand crash =>
(about: "Crash game (uses Stake.com's parameters). Does not use client/server seed and nonce arguments.")
(about: "Crash game (uses Stake.com's parameters).")
(@arg verify: --verify "Verify whether the hash is valid (can be slow)")
(@arg game_hash: +required
{validate_hex}
"Game hash")
)
).setting(clap::AppSettings::ArgRequiredElseHelp);
)
.setting(clap::AppSettings::ArgRequiredElseHelp);

let matches = app.get_matches();

Expand Down

0 comments on commit c1044ff

Please sign in to comment.