opgpcard: clarify/add comment

This commit is contained in:
Heiko Schaefer 2022-10-26 00:57:23 +02:00
parent 1f556c068d
commit bb577647c4
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -601,7 +601,8 @@ fn pick_card_for_reading(ident: Option<String>) -> Result<Box<dyn CardBackend +
Err(anyhow::anyhow!("No cards found"))
} else {
println!("Found {} cards:", cards.len());
list_cards(OutputFormat::Text, OutputVersion::new(1, 0, 0))?;
// The output version for OutputFormat::Text doesn't matter (it's ignored).
list_cards(OutputFormat::Text, OutputVersion::new(0, 0, 0))?;
println!();
println!("Specify which card to use with '--card <card ident>'");