Remove one last newline from help output

This commit is contained in:
Benjamin Sago 2017-06-23 22:30:48 +01:00
parent aa17e4d3df
commit 4e32b7fca9
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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