Skip to content
Snippets Groups Projects
Commit 30ebcf10 authored by Nicolas80's avatar Nicolas80
Browse files

Small rewordings to be consistent

parent 5493a681
No related branches found
No related tags found
1 merge request!41Adding db persistence for all SecretFormat of vault keys as well as supporting derivations
......@@ -38,7 +38,7 @@ pub enum Subcommand {
},
/// Give a meaningful vault name to a vault key or derivation
Rename {
/// Account Address
/// key SS58 Address
address: AccountId,
},
/// Remove a vault key (and potential derivations if it's a root key)
......@@ -473,7 +473,7 @@ async fn compute_vault_derivations_table(
) -> Result<Table, GcliError> {
let mut table = Table::new();
table.load_preset(comfy_table::presets::UTF8_BORDERS_ONLY);
table.set_header(vec!["Address", "Path", "Vault Name"]);
table.set_header(vec!["SS58 Address", "Path", "Vault Name"]);
let empty_name = "".to_string();
let root_path = "<Root>".to_string();
......
......@@ -78,10 +78,10 @@ trait AddressOrVaultName {
#[derive(Debug, clap::Args, Clone)]
#[group(required = false, multiple = false)]
pub struct AddressOrVaultNameGroupOptional {
/// Account Address
/// key SS58 Address
#[clap(short)]
address: Option<AccountId>,
/// Vault name for that account
/// Vault name for a key
#[clap(short = 'v')]
name: Option<String>,
}
......@@ -98,10 +98,10 @@ impl AddressOrVaultName for AddressOrVaultNameGroupOptional {
#[derive(Debug, clap::Args, Clone)]
#[group(required = true, multiple = false)]
pub struct AddressOrVaultNameGroup {
/// Account Address
/// key SS58 Address
#[clap(short)]
address: Option<AccountId>,
/// Vault name for that account
/// Vault name for a key
#[clap(short = 'v')]
name: Option<String>,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment