mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 18:58:40 +00:00
Refactor help.c for copyright and message clarity
Updated copyright information and improved formatting of help messages.
This commit is contained in:
parent
83daaee99b
commit
cc680e830f
1 changed files with 9 additions and 13 deletions
|
|
@ -1,17 +1,14 @@
|
|||
// Copyright (c) 2026 janevers (https://github.com/janevers-sys)
|
||||
// Copyright (c) 2023-2026 Chris (boreddevnl)
|
||||
// This software is released under the GNU General Public License v3.0. See LICENSE file for details.
|
||||
// This header needs to maintain in any file it is present in, as per the GPL license terms.
|
||||
// BOREDOS_APP_DESC: Show command and system help.
|
||||
#include <stdlib.h>
|
||||
#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");
|
||||
|
|
@ -41,12 +38,11 @@ int main(int argc, char **argv) {
|
|||
printf("clear - Clear the screen\n");
|
||||
printf("exit - Exit the terminal\n");
|
||||
printf("net - Network tools\n");
|
||||
printf("find - find files or folders\n");
|
||||
printf("time <cmd> - Measure command execution time\n");
|
||||
printf("find - find files or dol")
|
||||
printf("rev - Reverse a string or file\n");
|
||||
printf("head - print lines from the top down\n");
|
||||
printf("tail - print lines from the bottom up\n");
|
||||
printf("time <cmd> - Measure command execution time\n");
|
||||
printf("tail - print lines from te bottom up\n");
|
||||
printf("\nHint: Use Ctrl+C to force quit any running application.\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue