sh: do not print empty line at the end of "help" output

It's pointless.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-10-02 18:45:09 +02:00
parent df303ae117
commit ebedb9478d
2 changed files with 1 additions and 2 deletions

View File

@ -12848,7 +12848,7 @@ helpcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
} }
} }
# endif # endif
out1fmt("\n\n"); newline_and_flush(stdout);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
#endif #endif

View File

@ -9005,7 +9005,6 @@ static int FAST_FUNC builtin_help(char **argv UNUSED_PARAM)
if (x->b_descr) if (x->b_descr)
printf("%-10s%s\n", x->b_cmd, x->b_descr); printf("%-10s%s\n", x->b_cmd, x->b_descr);
} }
bb_putchar('\n');
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
#endif #endif