Skip to content

Commit 474f59f

Browse files
committed
fix: update clap options
1 parent 404aba2 commit 474f59f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/config/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,12 @@ pub fn get_config() -> (PathBuf, Config) {
108108
.about(env!("CARGO_PKG_DESCRIPTION"))
109109
.arg(
110110
Arg::new("manifest-dir")
111+
.short('c')
111112
.alias("config-dir")
112113
.env("GRHOOKS_MANIFEST_DIR")
113114
.required(true)
114115
.num_args(1)
115-
.help("Path to the configuration file")
116+
.help("Path to the configuration file or directory")
116117
.value_parser(clap::builder::PathBufValueParser::new()),
117118
)
118119
.arg(

0 commit comments

Comments
 (0)