mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 17:35:16 +01:00
[ownership] add help text for --owner
This commit is contained in:
parent
09cdf9831d
commit
6a68ac8c27
1 changed files with 12 additions and 1 deletions
13
src/app.rs
13
src/app.rs
|
@ -529,7 +529,18 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
Arg::with_name("owner")
|
||||
.long("owner")
|
||||
.short("o")
|
||||
.takes_value(true),
|
||||
.takes_value(true)
|
||||
.value_name("user:group")
|
||||
.help("Filter by owning user and/or group")
|
||||
.long_help(
|
||||
"Filter files by their user and/or group. \
|
||||
Format: [(user|uid)][:(group|gid)]. Either side is optional. \
|
||||
Precede either side with a '!' to exclude files instead.\n\
|
||||
Examples:\n \
|
||||
--owner john\n \
|
||||
--owner :students\n \
|
||||
--owner '!john:students'",
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue