Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bab7727

Browse files
committed
Update Usage in Readme
1 parent 12165c7 commit bab7727

File tree

1 file changed

+31
-33
lines changed

1 file changed

+31
-33
lines changed

README.md

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -295,39 +295,37 @@ This is the output of `fd -h`. To see the full set of command-line options, use
295295
also includes a much more detailed help text.
296296

297297
```
298-
USAGE:
299-
fd [FLAGS/OPTIONS] [<pattern>] [<path>...]
300-
301-
FLAGS:
302-
-H, --hidden Search hidden files and directories
303-
-I, --no-ignore Do not respect .(git|fd)ignore files
304-
-s, --case-sensitive Case-sensitive search (default: smart case)
305-
-i, --ignore-case Case-insensitive search (default: smart case)
306-
-g, --glob Glob-based search (default: regular expression)
307-
-a, --absolute-path Show absolute instead of relative paths
308-
-l, --list-details Use a long listing format with file metadata
309-
-L, --follow Follow symbolic links
310-
-p, --full-path Search full abs. path (default: filename only)
311-
-h, --help Prints help information
312-
-V, --version Prints version information
313-
314-
OPTIONS:
315-
-d, --max-depth <depth> Set maximum search depth (default: none)
316-
-t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l),
317-
executable (x), empty (e), socket (s), pipe (p)
318-
-e, --extension <ext>... Filter by file extension
319-
-x, --exec <cmd> Execute a command for each search result
320-
-X, --exec-batch <cmd> Execute a command with all search results at once
321-
-E, --exclude <pattern>... Exclude entries that match the given glob pattern
322-
-c, --color <when> When to use colors: never, *auto*, always
323-
-S, --size <size>... Limit results based on the size of files
324-
--changed-within <date|dur> Filter by file modification time (newer than)
325-
--changed-before <date|dur> Filter by file modification time (older than)
326-
-o, --owner <user:group> Filter by owning user and/or group
327-
328-
ARGS:
329-
<pattern> the search pattern (a regular expression, unless '--glob' is used; optional)
330-
<path>... the root directory for the filesystem search (optional)
298+
Usage: fd [OPTIONS] [pattern] [path]...
299+
300+
Arguments:
301+
[pattern] the search pattern (a regular expression, unless '--glob' is used; optional)
302+
[path]... the root directories for the filesystem search (optional)
303+
304+
Options:
305+
-H, --hidden Search hidden files and directories
306+
-I, --no-ignore Do not respect .(git|fd)ignore files
307+
-s, --case-sensitive Case-sensitive search (default: smart case)
308+
-i, --ignore-case Case-insensitive search (default: smart case)
309+
-g, --glob Glob-based search (default: regular expression)
310+
-a, --absolute-path Show absolute instead of relative paths
311+
-l, --list-details Use a long listing format with file metadata
312+
-L, --follow Follow symbolic links
313+
-p, --full-path Search full abs. path (default: filename only)
314+
-d, --max-depth <depth> Set maximum search depth (default: none)
315+
-E, --exclude <pattern> Exclude entries that match the given glob pattern
316+
-t, --type <filetype> Filter by type: file (f), directory (d), symlink (l),
317+
executable (x), empty (e), socket (s), pipe (p)
318+
-e, --extension <ext> Filter by file extension
319+
-S, --size <size> Limit results based on the size of files
320+
--changed-within <date|dur> Filter by file modification time (newer than)
321+
--changed-before <date|dur> Filter by file modification time (older than)
322+
-o, --owner <user:group> Filter by owning user and/or group
323+
-x, --exec <cmd>... Execute a command for each search result
324+
-X, --exec-batch <cmd>... Execute a command with all search results at once
325+
-c, --color <when> When to use colors [default: auto] [possible values: auto,
326+
always, never]
327+
-h, --help Print help information (use `--help` for more detail)
328+
-V, --version Print version information
331329
```
332330

333331
## Benchmark

0 commit comments

Comments
 (0)