mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-15 17:35:52 +00:00
Remove one last newline from help output
This commit is contained in:
parent
aa17e4d3df
commit
4e32b7fca9
@ -40,8 +40,7 @@ LONG VIEW OPTIONS
|
|||||||
-S, --blocks show number of file system blocks
|
-S, --blocks show number of file system blocks
|
||||||
-t, --time FIELD which timestamp field to list (modified, accessed, created)
|
-t, --time FIELD which timestamp field to list (modified, accessed, created)
|
||||||
-u, --accessed use the accessed timestamp field
|
-u, --accessed use the accessed timestamp field
|
||||||
-U, --created use the created timestamp field
|
-U, --created use the created timestamp field"##;
|
||||||
"##;
|
|
||||||
|
|
||||||
static GIT_HELP: &str = r##" --git list each file's Git status, if tracked"##;
|
static GIT_HELP: &str = r##" --git list each file's Git status, if tracked"##;
|
||||||
static EXTENDED_HELP: &str = r##" -@, --extended list each file's extended attributes and sizes"##;
|
static EXTENDED_HELP: &str = r##" -@, --extended list each file's extended attributes and sizes"##;
|
||||||
@ -57,13 +56,13 @@ pub fn help_string(matches: &Matches, git: bool, xattr: bool) -> String {
|
|||||||
help.push_str(LONG_OPTIONS);
|
help.push_str(LONG_OPTIONS);
|
||||||
|
|
||||||
if git {
|
if git {
|
||||||
help.push_str(GIT_HELP);
|
|
||||||
help.push('\n');
|
help.push('\n');
|
||||||
|
help.push_str(GIT_HELP);
|
||||||
}
|
}
|
||||||
|
|
||||||
if xattr {
|
if xattr {
|
||||||
help.push_str(EXTENDED_HELP);
|
|
||||||
help.push('\n');
|
help.push('\n');
|
||||||
|
help.push_str(EXTENDED_HELP);
|
||||||
}
|
}
|
||||||
|
|
||||||
help
|
help
|
||||||
|
@ -40,4 +40,3 @@ LONG VIEW OPTIONS
|
|||||||
-U, --created use the created timestamp field
|
-U, --created use the created timestamp field
|
||||||
--git list each file's Git status, if tracked
|
--git list each file's Git status, if tracked
|
||||||
-@, --extended list each file's extended attributes and sizes
|
-@, --extended list each file's extended attributes and sizes
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ LONG VIEW OPTIONS
|
|||||||
-U, --created use the created timestamp field
|
-U, --created use the created timestamp field
|
||||||
--git list each file's Git status, if tracked
|
--git list each file's Git status, if tracked
|
||||||
-@, --extended list each file's extended attributes and sizes
|
-@, --extended list each file's extended attributes and sizes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user