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:
Erik Kundt 2025-10-07 15:01:57 +02:00
parent 6d698bb794
commit 2e77d5ef4d
1 changed files with 2 additions and 4 deletions

View File

@ -44,10 +44,8 @@ impl std::fmt::Display for Target {
pub struct Args {
/// A Repository ID or Node ID to block from seeding or following (respectively)
///
/// Example values:
/// - z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9 (Node ID)
/// - rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH (Repository ID)
#[arg(value_name = "RID|NID", verbatim_doc_comment)]
/// [example values: rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH, z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9]
#[arg(value_name = "RID|NID")]
pub(super) target: Target,
}