Skip to content

Commit

Permalink
fix: Re-align --git-ignore in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
ariasuni authored and cafkafk committed Sep 1, 2023
1 parent db1274a commit 4fbd0ea
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 4fbd0ea

Please sign in to comment.