mirror of
https://github.com/crate-ci/typos.git
synced 2025-01-10 16:54:51 -05:00
docs(args): Clarify command line arguments
This commit is contained in:
parent
02e8792e94
commit
70163fae61
1 changed files with 5 additions and 5 deletions
10
src/args.rs
10
src/args.rs
|
@ -43,7 +43,7 @@ impl Default for Format {
|
|||
)]
|
||||
pub(crate) struct Args {
|
||||
#[structopt(parse(from_os_str), default_value = ".")]
|
||||
/// Paths to check
|
||||
/// Paths to check with `-` for stdin
|
||||
pub(crate) path: Vec<std::path::PathBuf>,
|
||||
|
||||
#[structopt(short = "c", long = "config")]
|
||||
|
@ -59,19 +59,19 @@ pub(crate) struct Args {
|
|||
pub(crate) diff: bool,
|
||||
|
||||
#[structopt(long, short = "w")]
|
||||
/// Write corrections out
|
||||
/// Write fixes out
|
||||
pub(crate) write_changes: bool,
|
||||
|
||||
#[structopt(long)]
|
||||
/// Print each file that would be spellchecked.
|
||||
/// Debug: Print each file that would be spellchecked.
|
||||
pub(crate) files: bool,
|
||||
|
||||
#[structopt(long)]
|
||||
/// Print each identifier that would be spellchecked.
|
||||
/// Debug: Print each identifier that would be spellchecked.
|
||||
pub(crate) identifiers: bool,
|
||||
|
||||
#[structopt(long)]
|
||||
/// Print each word that would be spellchecked.
|
||||
/// Debug: Print each word that would be spellchecked.
|
||||
pub(crate) words: bool,
|
||||
|
||||
#[structopt(flatten)]
|
||||
|
|
Loading…
Reference in a new issue