diff --git a/cli/src/main.rs b/cli/src/main.rs index 14a346c..9c69d96 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -50,8 +50,8 @@ async fn main() -> Result<(), Box> { ), ) .subcommand( - Command::new("encryption") - .about("Encryption operations") + Command::new("symmetric") + .about("Symmetric encryption operations") .arg( arg!( -d --decrypt ... "Decrypt flag" @@ -73,8 +73,8 @@ async fn main() -> Result<(), Box> { ) ) .subcommand( - Command::new("asymetric") - .about("Asymetric encryption operations") + Command::new("asymmetric") + .about("Asymmetric encryption operations") .arg( arg!( -d --decrypt ... "Decrypt flag" @@ -129,7 +129,7 @@ async fn main() -> Result<(), Box> { println!("{}", hash); } - Some(("encryption", sub_matches)) => { + Some(("symmetric", sub_matches)) => { let decrypt = sub_matches.get_one::("decrypt").unwrap(); let input = sub_matches.get_one::("input").unwrap(); let key = sub_matches.get_one::("key").unwrap(); @@ -142,7 +142,7 @@ async fn main() -> Result<(), Box> { println!("{}", result); } - Some(("asymetric", sub_matches)) => { + Some(("asymmetric", sub_matches)) => { let decrypt = sub_matches.get_one::("decrypt").unwrap(); let input = sub_matches.get_one::("input").unwrap(); let key = sub_matches.get_one::("key").unwrap();