Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .devcontainer/devcontainer.json

This file was deleted.

4 changes: 2 additions & 2 deletions src/arguments/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ pub struct ExtractArgs {
#[arg(short, long, required_unless_present_any = ["issuer", "label"])]
pub index: Option<usize>,

/// Code issuer
/// Code issuer, may be a glob pattern
#[arg(short = 's', long, required_unless_present_any = ["index", "label"])]
pub issuer: Option<String>,

/// Code label
/// Code label, may be a glob pattern
#[arg(short, long, required_unless_present_any = ["index", "issuer"])]
pub label: Option<String>,

Expand Down
2 changes: 1 addition & 1 deletion src/arguments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub enum CotpSubcommands {
Import(ImportArgs),
/// Export cotp database
Export(ExportArgs),
/// Copies the selected code into the clipboard
/// Copies the selected code into the clipboard, supports glob matching
Extract(ExtractArgs),
/// Change database password
Passwd(PasswdArgs),
Expand Down
Loading