Skip to content

Commit b49baca

Browse files
committed
feat: add long version flag --version
Add support for --version in addition to existing -v short flag.
1 parent 7058888 commit b49baca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::io::{self, Write};
66
#[derive(FromArgs)]
77
/// Copy data to clipboard using OSC52 escape sequences
88
struct Args {
9-
#[argh(switch, short = 'v')]
9+
#[argh(switch, short = 'v', long = "version")]
1010
/// show version information
1111
version: bool,
1212

0 commit comments

Comments
 (0)