Skip to content

Commit

Permalink
fix: missed gating clipboard command
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Nov 15, 2024
1 parent 7270e9f commit d6083e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ enum Command {
Apply,
Behead,
Cat,
#[cfg(all(feature = "clipboard", feature = "feature_capable"))]
Clipboard,
Count,
Datefmt,
Expand Down Expand Up @@ -428,6 +429,7 @@ impl Command {
#[cfg(all(feature = "apply", feature = "feature_capable"))]
Command::Apply => cmd::apply::run(argv),
Command::Cat => cmd::cat::run(argv),
#[cfg(all(feature = "clipboard", feature = "feature_capable"))]
Command::Clipboard => cmd::clipboard::run(argv),
Command::Count => cmd::count::run(argv),
Command::Datefmt => cmd::datefmt::run(argv),
Expand Down

0 comments on commit d6083e1

Please sign in to comment.