Skip to content

Commit 4fbd0ea

Browse files
ariasunicafkafk
authored andcommitted
fix: Re-align --git-ignore in help message
1 parent db1274a commit 4fbd0ea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/options/help.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ FILTERING AND SORTING OPTIONS
3737
-D, --only-dirs list only directories
3838
-I, --ignore-glob GLOBS glob patterns (pipe-separated) of files to ignore";
3939

40-
static USAGE_PART2: &str = " \
40+
static GIT_FILTER_HELP: &str = " \
41+
--git-ignore ignore files mentioned in '.gitignore'";
42+
43+
static USAGE_PART2: &str = " \
4144
Valid sort fields: name, Name, extension, Extension, size, type,
4245
modified, accessed, created, inode, and none.
4346
date, time, old, and new all refer to modified.
@@ -63,8 +66,6 @@ LONG VIEW OPTIONS
6366
--no-user suppress the user field
6467
--no-time suppress the time field";
6568

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

0 commit comments

Comments
 (0)