"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app.rs" between
fd-8.0.0.tar.gz and fd-8.1.0.tar.gz

About: fd is a simple, fast and user-friendly alternative to "find".

app.rs  (fd-8.0.0):app.rs  (fd-8.1.0)
skipping to change at line 33 skipping to change at line 33
), ),
) )
.arg( .arg(
Arg::with_name("no-ignore") Arg::with_name("no-ignore")
.long("no-ignore") .long("no-ignore")
.short("I") .short("I")
.overrides_with("no-ignore") .overrides_with("no-ignore")
.help("Do not respect .(git|fd)ignore files") .help("Do not respect .(git|fd)ignore files")
.long_help( .long_help(
"Show search results from files and directories that would o therwise be \ "Show search results from files and directories that would o therwise be \
ignored by '.gitignore', '.ignore' or '.fdignore' files .", ignored by '.gitignore', '.ignore', '.fdignore', or the global ignore file.",
), ),
) )
.arg( .arg(
Arg::with_name("no-ignore-vcs") Arg::with_name("no-ignore-vcs")
.long("no-ignore-vcs") .long("no-ignore-vcs")
.overrides_with("no-ignore-vcs") .overrides_with("no-ignore-vcs")
.hidden_short_help(true) .hidden_short_help(true)
.long_help( .long_help(
"Show search results from files and directories that would o therwise be \ "Show search results from files and directories that would o therwise be \
ignored by '.gitignore' files.", ignored by '.gitignore' files.",
), ),
) )
.arg( .arg(
Arg::with_name("no-global-ignore-file")
.long("no-global-ignore-file")
.hidden(true)
.long_help("Do not respect the global ignore file."),
)
.arg(
Arg::with_name("rg-alias-hidden-ignore") Arg::with_name("rg-alias-hidden-ignore")
.short("u") .short("u")
.long("unrestricted") .long("unrestricted")
.multiple(true) .multiple(true)
.hidden_short_help(true) .hidden_short_help(true)
.long_help( .long_help(
"Alias for '--no-ignore'. Can be repeated. '-uu' is an alias for \ "Alias for '--no-ignore'. Can be repeated. '-uu' is an alias for \
'--no-ignore --hidden'.", '--no-ignore --hidden'.",
), ),
) )
skipping to change at line 383 skipping to change at line 389
.number_of_values(1) .number_of_values(1)
.allow_hyphen_values(true) .allow_hyphen_values(true)
.multiple(true) .multiple(true)
.help("Limit results based on the size of files.") .help("Limit results based on the size of files.")
.long_help( .long_help(
"Limit results based on the size of files using the format < +-><NUM><UNIT>.\n \ "Limit results based on the size of files using the format < +-><NUM><UNIT>.\n \
'+': file size must be greater than or equal to this\n \ '+': file size must be greater than or equal to this\n \
'-': file size must be less than or equal to this\n \ '-': file size must be less than or equal to this\n \
'NUM': The numeric size (e.g. 500)\n \ 'NUM': The numeric size (e.g. 500)\n \
'UNIT': The units for NUM. They are not case-sensitive.\ n\ 'UNIT': The units for NUM. They are not case-sensitive.\ n\
Allowed unit values:\n \ Allowed unit values:\n \
'b': bytes\n \ 'b': bytes\n \
'k': kilobytes\n \ 'k': kilobytes (base ten, 10^3 = 1000 bytes)\n \
'm': megabytes\n \ 'm': megabytes\n \
'g': gigabytes\n \ 'g': gigabytes\n \
't': terabytes\n \ 't': terabytes\n \
'ki': kibibytes\n \ 'ki': kibibytes (base two, 2^10 = 1024 bytes)\n \
'mi': mebibytes\n \ 'mi': mebibytes\n \
'gi': gibibytes\n \ 'gi': gibibytes\n \
'ti': tebibytes", 'ti': tebibytes",
), ),
) )
.arg( .arg(
Arg::with_name("max-buffer-time") Arg::with_name("max-buffer-time")
.long("max-buffer-time") .long("max-buffer-time")
.takes_value(true) .takes_value(true)
.hidden(true) .hidden(true)
.long_help( .long_help(
"Amount of time in milliseconds to buffer, before streaming the search \ "Amount of time in milliseconds to buffer, before streaming the search \
skipping to change at line 527 skipping to change at line 533
.multiple(true) .multiple(true)
.hidden_short_help(true) .hidden_short_help(true)
.number_of_values(1) .number_of_values(1)
.long_help( .long_help(
"Provide paths to search as an alternative to the positional <path> \ "Provide paths to search as an alternative to the positional <path> \
argument. Changes the usage to `fd [FLAGS/OPTIONS] --se arch-path <path> \ argument. Changes the usage to `fd [FLAGS/OPTIONS] --se arch-path <path> \
--search-path <path2> [<pattern>]`", --search-path <path2> [<pattern>]`",
), ),
); );
if cfg!(unix) {
app = app.arg(
Arg::with_name("owner")
.long("owner")
.short("o")
.takes_value(true)
.value_name("user:group")
.help("Filter by owning user and/or group")
.long_help(
"Filter files by their user and/or group. \
Format: [(user|uid)][:(group|gid)]. Either side is optional
. \
Precede either side with a '!' to exclude files instead.\n\
Examples:\n \
--owner john\n \
--owner :students\n \
--owner '!john:students'",
),
);
}
// Make `--one-file-system` available only on Unix and Windows platforms, as per the // Make `--one-file-system` available only on Unix and Windows platforms, as per the
// restrictions on the corresponding option in the `ignore` crate. // restrictions on the corresponding option in the `ignore` crate.
// Provide aliases `mount` and `xdev` for people coming from `find`. // Provide aliases `mount` and `xdev` for people coming from `find`.
if cfg!(any(unix, windows)) { if cfg!(any(unix, windows)) {
app = app.arg( app = app.arg(
Arg::with_name("one-file-system") Arg::with_name("one-file-system")
.long("one-file-system") .long("one-file-system")
.aliases(&["mount", "xdev"]) .aliases(&["mount", "xdev"])
.hidden_short_help(true) .hidden_short_help(true)
.long_help( .long_help(
 End of changes. 4 change blocks. 
10 lines changed or deleted 37 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)