Skip to content
Snippets Groups Projects
Commit f62c0557 authored by Éloïs's avatar Éloïs
Browse files

doc(main): document cli options

parent 9e7c3544
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ pub struct CurrentUdQuery;
#[derive(StructOpt)]
#[structopt(name = "rust-gva-client", about = "Client use GVA API of Duniter.")]
struct CliArgs {
/// GVA server url (default `https://g1.librelois.fr/gva`)
/// GVA server url
#[structopt(short, long, default_value = DEFAULT_GVA_SERVER)]
server: String,
#[structopt(subcommand)]
......@@ -54,7 +54,7 @@ struct CliArgs {
#[derive(StructOpt)]
enum SubCommand {
// Get account balance
/// Get account balance
Balance {
pubkey_or_script: String,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment