diff options
-rw-r--r-- | README.md | 64 |
1 files changed, 31 insertions, 33 deletions
@@ -295,39 +295,37 @@ This is the output of `fd -h`. To see the full set of command-line options, use also includes a much more detailed help text. ``` -USAGE: - fd [FLAGS/OPTIONS] [<pattern>] [<path>...] - -FLAGS: - -H, --hidden Search hidden files and directories - -I, --no-ignore Do not respect .(git|fd)ignore files - -s, --case-sensitive Case-sensitive search (default: smart case) - -i, --ignore-case Case-insensitive search (default: smart case) - -g, --glob Glob-based search (default: regular expression) - -a, --absolute-path Show absolute instead of relative paths - -l, --list-details Use a long listing format with file metadata - -L, --follow Follow symbolic links - -p, --full-path Search full abs. path (default: filename only) - -h, --help Prints help information - -V, --version Prints version information - -OPTIONS: - -d, --max-depth <depth> Set maximum search depth (default: none) - -t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l), - executable (x), empty (e), socket (s), pipe (p) - -e, --extension <ext>... Filter by file extension - -x, --exec <cmd> Execute a command for each search result - -X, --exec-batch <cmd> Execute a command with all search results at once - -E, --exclude <pattern>... Exclude entries that match the given glob pattern - -c, --color <when> When to use colors: never, *auto*, always - -S, --size <size>... Limit results based on the size of files - --changed-within <date|dur> Filter by file modification time (newer than) - --changed-before <date|dur> Filter by file modification time (older than) - -o, --owner <user:group> Filter by owning user and/or group - -ARGS: - <pattern> the search pattern (a regular expression, unless '--glob' is used; optional) - <path>... the root directory for the filesystem search (optional) +Usage: fd [OPTIONS] [pattern] [path]... + +Arguments: + [pattern] the search pattern (a regular expression, unless '--glob' is used; optional) + [path]... the root directories for the filesystem search (optional) + +Options: + -H, --hidden Search hidden files and directories + -I, --no-ignore Do not respect .(git|fd)ignore files + -s, --case-sensitive Case-sensitive search (default: smart case) + -i, --ignore-case Case-insensitive search (default: smart case) + -g, --glob Glob-based search (default: regular expression) + -a, --absolute-path Show absolute instead of relative paths + -l, --list-details Use a long listing format with file metadata + -L, --follow Follow symbolic links + -p, --full-path Search full abs. path (default: filename only) + -d, --max-depth <depth> Set maximum search depth (default: none) + -E, --exclude <pattern> Exclude entries that match the given glob pattern + -t, --type <filetype> Filter by type: file (f), directory (d), symlink (l), + executable (x), empty (e), socket (s), pipe (p) + -e, --extension <ext> Filter by file extension + -S, --size <size> Limit results based on the size of files + --changed-within <date|dur> Filter by file modification time (newer than) + --changed-before <date|dur> Filter by file modification time (older than) + -o, --owner <user:group> Filter by owning user and/or group + -x, --exec <cmd>... Execute a command for each search result + -X, --exec-batch <cmd>... Execute a command with all search results at once + -c, --color <when> When to use colors [default: auto] [possible values: auto, + always, never] + -h, --help Print help information (use `--help` for more detail) + -V, --version Print version information ``` ## Benchmark |