added missing flag text to help

This commit is contained in:
Valerie Wolfe 2022-06-27 22:42:02 -04:00
parent 027eb64ddc
commit 9778cfd7f4
3 changed files with 7 additions and 2 deletions

2
Cargo.lock generated
View file

@ -13,7 +13,7 @@ dependencies = [
[[package]]
name = "config"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"regex",
"toml",

View file

@ -1,6 +1,6 @@
[package]
name = "config"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -164,4 +164,9 @@ fn help_text() {
println!("A configuration manager written in Rust.\n");
println!("USAGE:");
println!("\tconfig NAME\n");
println!("FLAGS:");
println!("\t-h, --help\tPrints this help text");
println!("\t-d, --dir\tGets the directory of the config file");
println!("\t-l, --list\tLists config sections");
println!("\t-p, --path\tGets the path to the config file");
}