0
0
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:
Adrian Wannenmacher 2023-09-24 15:16:18 +02:00
parent ad173e2684
commit bbae1f0d6e
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -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>,
}