cli/block: Improve example values for target argument
This visual representation follows the one that `clap` is generating for defaults and possible values.
This commit is contained in:
parent
6d698bb794
commit
2e77d5ef4d
|
|
@ -44,10 +44,8 @@ impl std::fmt::Display for Target {
|
||||||
pub struct Args {
|
pub struct Args {
|
||||||
/// A Repository ID or Node ID to block from seeding or following (respectively)
|
/// A Repository ID or Node ID to block from seeding or following (respectively)
|
||||||
///
|
///
|
||||||
/// Example values:
|
/// [example values: rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH, z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9]
|
||||||
/// - z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9 (Node ID)
|
#[arg(value_name = "RID|NID")]
|
||||||
/// - rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH (Repository ID)
|
|
||||||
#[arg(value_name = "RID|NID", verbatim_doc_comment)]
|
|
||||||
pub(super) target: Target,
|
pub(super) target: Target,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue