summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-03-04 22:40:23 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-03-04 22:40:23 -0500
commitd9c69df50c74ec52736764ec6fae44a80a95fb9d (patch)
tree7d1268df9d221e2218738292373b94b14a46475f
parenta98ce209f82b1ecfc5f10842e0649bc77d34f63f (diff)
downloadtitler-d9c69df50c74ec52736764ec6fae44a80a95fb9d.tar.xz
titler-d9c69df50c74ec52736764ec6fae44a80a95fb9d.zip
better-formatted help
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 2518e02..0ffe5af 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,8 +2,9 @@ use std::collections::HashSet;
use std::env::args;
use std::io::{stdin, BufRead, BufReader};
-const HELP_MSG: &str =
- "Title-Case Tool\n-i | --ignore [word...]\tA list of words that should not be corrected.";
+const HELP_MSG: &str = "Title-Case Tool\n\
+ -h | --help\t\t\tPrints this message\n\
+ -i | --ignore [word...]\t\tA list of words that should not be corrected";
/// Words that will not be capitalized unless they are at the start or end of a title.
const EXCEPTIONS: &[&str] = &[