mirror of
https://github.com/TeFiLeDo/tree-owners.git
synced 2024-11-23 04:36:17 +01:00
simplify help texts
This commit is contained in:
parent
ad173e2684
commit
bbae1f0d6e
@ -6,15 +6,15 @@ use clap::Parser;
|
||||
#[derive(Debug, Parser)]
|
||||
#[clap(author, about, version)]
|
||||
pub(crate) struct Args {
|
||||
/// Whether to output data as json.
|
||||
/// Output data as json.
|
||||
#[clap(long)]
|
||||
pub json: bool,
|
||||
|
||||
/// Whether to output raw uid and gid numbers.
|
||||
/// Don't output names, only uid and gid.
|
||||
#[clap(long)]
|
||||
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 = ".")]
|
||||
pub roots: Vec<PathBuf>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user