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:
parent
df303ae117
commit
ebedb9478d
@ -12848,7 +12848,7 @@ helpcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
||||
}
|
||||
}
|
||||
# endif
|
||||
out1fmt("\n\n");
|
||||
newline_and_flush(stdout);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
@ -9005,7 +9005,6 @@ static int FAST_FUNC builtin_help(char **argv UNUSED_PARAM)
|
||||
if (x->b_descr)
|
||||
printf("%-10s%s\n", x->b_cmd, x->b_descr);
|
||||
}
|
||||
bb_putchar('\n');
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user