← Commit list

ebedb9478

Denys Vlasenko
Denys Vlasenko
2016-10-02
SUCCESS Duration: 258s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -1
@@ -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
shell/hush.c+0 -1
@@ -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