mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 18:58:40 +00:00
Refactor help.c for better readability
This commit is contained in:
parent
b0a10d19d4
commit
83daaee99b
1 changed files with 13 additions and 7 deletions
|
|
@ -5,9 +5,13 @@
|
|||
#include <syscall.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
(void)argc; (void)argv;
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
uint64_t help_color = sys_get_shell_config("help_color");
|
||||
if (help_color != 0) sys_set_text_color(help_color);
|
||||
if (help_color != 0) {
|
||||
sys_set_text_color(help_color);
|
||||
}
|
||||
|
||||
printf("BoredOS CLI Help\n");
|
||||
printf("---------------------------\n");
|
||||
|
|
@ -43,4 +47,6 @@ int main(int argc, char **argv) {
|
|||
printf("tail - print lines from the bottom up\n");
|
||||
printf("time <cmd> - Measure command execution time\n");
|
||||
printf("\nHint: Use Ctrl+C to force quit any running application.\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue