summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs2
-rw-r--r--src/config.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 8e50161..3d60c9c 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -12,7 +12,7 @@ pub struct Cli {
/// Select a role
#[clap(short, long)]
pub role: Option<String>,
- /// Input text
+ /// Input text
text: Vec<String>,
}
diff --git a/src/config.rs b/src/config.rs
index c3d338c..d841fba 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -267,7 +267,7 @@ impl Config {
match key {
"api_key" => {
if unset {
- return Ok("Not allowd".into());
+ return Ok("Not allowed".into());
} else {
self.api_key = value.to_string();
}