summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 126f13c..a3e6e33 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
use std::ffi::CString;
use std::os::raw::c_int;
-use clap::{Parser, Subcommand};
+use clap::{Parser, Subcommand, command};
mod non_critical;
mod critical;
@@ -39,7 +39,7 @@ enum Commands {
}
fn main() {
- let cli = Cli::parse();
+ let cli = Parser::parse();
match cli.command {
Commands::RandomSounds { threads, time } => unsafe {