mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
@@ -30,7 +30,7 @@ impl Format {
|
||||
#[command(about, author, version)]
|
||||
#[command(group = clap::ArgGroup::new("mode").multiple(false))]
|
||||
pub(crate) struct Args {
|
||||
/// Paths to check with `-` for stdin
|
||||
/// Paths to check (`-` to check stdin)
|
||||
#[arg(default_value = ".", group = "source")]
|
||||
pub(crate) path: Vec<std::path::PathBuf>,
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Source Code Spelling Correction
|
||||
Usage: typos[EXE] [OPTIONS] [PATH]...
|
||||
|
||||
Arguments:
|
||||
[PATH]... Paths to check with `-` for stdin [default: .]
|
||||
[PATH]... Paths to check (`-` to check stdin) [default: .]
|
||||
|
||||
Options:
|
||||
--file-list <FILE_LIST> Read the list of newline separated paths from file or stdin (if `-`)
|
||||
|
||||
Reference in New Issue
Block a user