mirror of
https://github.com/TeFiLeDo/tree-owners.git
synced 2024-11-23 12:46:16 +01:00
simplify help texts
This commit is contained in:
parent
ad173e2684
commit
bbae1f0d6e
@ -6,15 +6,15 @@ use clap::Parser;
|
|||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
#[clap(author, about, version)]
|
#[clap(author, about, version)]
|
||||||
pub(crate) struct Args {
|
pub(crate) struct Args {
|
||||||
/// Whether to output data as json.
|
/// Output data as json.
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
pub json: bool,
|
pub json: bool,
|
||||||
|
|
||||||
/// Whether to output raw uid and gid numbers.
|
/// Don't output names, only uid and gid.
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
pub raw: bool,
|
pub raw: bool,
|
||||||
|
|
||||||
/// The roots to use for discovery.
|
/// Paths from where to start discovery. Recursion is applied to paths that are directories.
|
||||||
#[clap(default_value = ".")]
|
#[clap(default_value = ".")]
|
||||||
pub roots: Vec<PathBuf>,
|
pub roots: Vec<PathBuf>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user