mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-16 01:07:09 +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
|
||||
-t, --time FIELD which timestamp field to list (modified, accessed, created)
|
||||
-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 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);
|
||||
|
||||
if git {
|
||||
help.push_str(GIT_HELP);
|
||||
help.push('\n');
|
||||
help.push_str(GIT_HELP);
|
||||
}
|
||||
|
||||
if xattr {
|
||||
help.push_str(EXTENDED_HELP);
|
||||
help.push('\n');
|
||||
help.push_str(EXTENDED_HELP);
|
||||
}
|
||||
|
||||
help
|
||||
|
@ -40,4 +40,3 @@ LONG VIEW OPTIONS
|
||||
-U, --created use the created timestamp field
|
||||
--git list each file's Git status, if tracked
|
||||
-@, --extended list each file's extended attributes and sizes
|
||||
|
||||
|
@ -16,4 +16,3 @@ LONG VIEW OPTIONS
|
||||
-U, --created use the created timestamp field
|
||||
--git list each file's Git status, if tracked
|
||||
-@, --extended list each file's extended attributes and sizes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user