diff --git a/src/Makefile b/src/Makefile index 5b967a6d..f4d53eab 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ LOCAL_EPH_PATH := ./local-enclave/qos.ephemeral.key .PHONY: local-enclave local-enclave: @# Remove the directory where we default to setting up the enclave file system - rm -rf ./local-encalve + rm -rf ./local-enclave @# Start the enclave with mock feature and mock flag so we can use the MockNSM cargo run --bin qos_core \ --features mock \ diff --git a/src/qos_core/src/parser.rs b/src/qos_core/src/parser.rs index ec3da6da..895179d8 100644 --- a/src/qos_core/src/parser.rs +++ b/src/qos_core/src/parser.rs @@ -145,13 +145,13 @@ impl Parser { self } - /// Wether or not the user passed in `--help`. Should always be checked. + /// Whether or not the user passed in `--help`. Should always be checked. #[must_use] pub fn help(&self) -> bool { self.token_map.get_flag(HELP).unwrap_or(false) } - /// Wether or not the user passed in `--version`. Should always be checked. + /// Whether or not the user passed in `--version`. Should always be checked. #[must_use] pub fn version(&self) -> bool { self.token_map.get_flag(VERSION).unwrap_or(false) diff --git a/src/qos_host/src/cli.rs b/src/qos_host/src/cli.rs index 156bb7f0..47a2bd29 100644 --- a/src/qos_host/src/cli.rs +++ b/src/qos_host/src/cli.rs @@ -55,7 +55,7 @@ impl GetParserForOptions for HostParser { .takes_value(true) ) .token( - Token::new(VSOCK_TO_HOST, "wether to add the to-host svm flag to the enclave vsock connection. Valid options are `true` or `false`") + Token::new(VSOCK_TO_HOST, "whether to add the to-host svm flag to the enclave vsock connection. Valid options are `true` or `false`") .takes_value(true) .required(false) .forbids(vec![USOCK]) diff --git a/src/qos_test_primitives/src/lib.rs b/src/qos_test_primitives/src/lib.rs index daf6b4e7..08f5322f 100644 --- a/src/qos_test_primitives/src/lib.rs +++ b/src/qos_test_primitives/src/lib.rs @@ -119,7 +119,7 @@ pub fn wait_until_port_is_bound(port: u16) { ) } -/// Return wether or not the port can be bind-ed too. +/// Return whether or not the port can be bind-ed too. fn port_is_available(port: u16) -> bool { TcpListener::bind(("127.0.0.1", port)).is_ok() }