浏览代码

Merge pull request #113 from lukasz-lobocki/main

docs: Adding --git-repos to help; aligning some help text.
Christina Sørensen 2 年之前
父节点
当前提交
ad7e55ce43
共有 1 个文件被更改,包括 9 次插入4 次删除
  1. 9 4
      src/options/help.rs

+ 9 - 4
src/options/help.rs

@@ -62,10 +62,15 @@ 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";
-static EXTENDED_HELP:   &str = "  -@, --extended       list each file's extended attributes and sizes";
-static SECATTR_HELP:    &str = "  -Z, --context        list each file's security context";
+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
+  --git-repos              list root of git-tree status";
+static EXTENDED_HELP:   &str = "  \
+  -@, --extended           list each file's extended attributes and sizes";
+static SECATTR_HELP:    &str = "  \
+  -Z, --context            list each file's security context";
 
 /// All the information needed to display the help text, which depends
 /// on which features are enabled and whether the user only wants to