docs: format command help

This commit is contained in:
DeFiDude committed 2026-11-02 11:42:21 -07:00
1 parent dc50ce5390
commit b217cb3f59
3 files changed
+13 -4

No files matched your search

+3 -1
View File
@@ -23,7 +23,9 @@ pub enum RatkeyError {
/// PUK retries are exhausted. It can no longer recover the PIN; restoring
/// PIV recovery requires a destructive reset. An otherwise valid PIN may
/// still work until its own retry counter is exhausted.
#[error("PIV recovery counter locked; a working PIN may still be usable. Resetting PIV erases user keys")]
#[error(
"PIV recovery counter locked; a working PIN may still be usable. Resetting PIV erases user keys"
)]
PukLocked,
#[error("PIV reset requires both retry counters to be blocked")]
+3 -1
View File
@@ -584,7 +584,9 @@ async fn run_listen(args: Args) -> ! {
};
let allow_all = args.no_auth;
if allowed.is_empty() && !allow_all && !args.print_identity {
eprintln!("Warning: No allowed identities configured. This listener does not require identification before receiving pushed files; do not rely on the allow-list to exclude unidentified senders.");
eprintln!(
"Warning: No allowed identities configured. This listener does not require identification before receiving pushed files; do not rely on the allow-list to exclude unidentified senders."
);
}
let handle = start_reticulum(args.config.as_deref(), shutdown.clone()).await;
@@ -251,7 +251,10 @@ fn cmd_provision(
println!(" Ed25519 public: {}", hex::encode(ed_pub));
println!(" X25519 public: {}", hex::encode(x_pub));
println!(" Device: {}", session.device_type().as_str());
println!(" Ed25519 attestation chain verified: {}", attestation.verified);
println!(
" Ed25519 attestation chain verified: {}",
attestation.verified
);
if let Some(dir) = output {
let identity_dir = dir.join(&hash_hex);
@@ -299,7 +302,9 @@ fn cmd_provision(
}
}
println!("\nNo private-key backup was created. Losing this token can make the identity unusable.");
println!(
"\nNo private-key backup was created. Losing this token can make the identity unusable."
);
println!("This utility has no command to export or back up these on-device keys.");
}