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:
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user