Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/options/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ FILTERING AND SORTING OPTIONS
-D, --only-dirs list only directories
-I, --ignore-glob GLOBS glob patterns (pipe-separated) of files to ignore";

static USAGE_PART2: &str = " \
static GIT_FILTER_HELP: &str = " \
--git-ignore ignore files mentioned in '.gitignore'";

static USAGE_PART2: &str = " \
Valid sort fields: name, Name, extension, Extension, size, type,
modified, accessed, created, inode, and none.
date, time, old, and new all refer to modified.
Expand All @@ -63,8 +66,6 @@ LONG VIEW OPTIONS
--no-user suppress the user field
--no-time suppress the time field";

static GIT_FILTER_HELP: &str = " \
--git-ignore ignore files mentioned in '.gitignore'";
static GIT_VIEW_HELP: &str = " \
--git list each file's Git status, if tracked or ignored
--no-git suppress Git status (always overrides --git, --git-repos, --git-repos-no-status)
Expand Down