diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-24 13:38:05 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-24 13:38:05 +0200 |
| commit | de88c44c68f3941e003ddaf13042875370f10978 (patch) | |
| tree | 14b0909de5d6d10fc7ef44fc470d210f21e94f25 /public/tools/open/src/CommandLine.cc | |
| parent | e6185ca92212ab0686892a1a12efd392f895c1f7 (diff) | |
dev, tooling: Improve the tools and frameworks on userspace.
Details:
- See commit details for more.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public/tools/open/src/CommandLine.cc')
| -rw-r--r-- | public/tools/open/src/CommandLine.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/public/tools/open/src/CommandLine.cc b/public/tools/open/src/CommandLine.cc index 7ba7b7f6..b3779c71 100644 --- a/public/tools/open/src/CommandLine.cc +++ b/public/tools/open/src/CommandLine.cc @@ -13,19 +13,19 @@ #define OPEN_APP_HELP_FLAG "-h" #define OPEN_APP_BASE_PATH "/app/" -SInt32 main(SInt32 argc, Char* argv[]) +SInt32 _NeMain(SInt32 argc, Char* argv[]) { if (argc == 1) return EXIT_FAILURE; - for (SizeT i = 1UL; i < argc; ++i) + PrintOut(nullptr, "open: Open Loader.\n"); + PrintOut(nullptr, "open: © 2024-2025 Amlal El Mahrouss, All rights reserved.\n"); + + for (SInt32 i = 1U; i < argc; ++i) { if (MmStrCmp(argv[i], OPEN_APP_HELP_FLAG) == 0) { - PrintOut(nullptr, "open: open .app(s) directories.\n"); - PrintOut(nullptr, "open: © 2024-2025 Amlal El Mahrouss, All rights reserved.\n"); - - PrintOut(nullptr, "open: %s: Application is being taken as the input (opens a PEF/PE32+/ELF program depending on the CPU architecture).\n", OPEN_APP_APP_FLAG); + PrintOut(nullptr, "open: %s: Application is being taken as the input (opens a PEF/PE32+ program depending on the CPU architecture).\n", OPEN_APP_APP_FLAG); return EXIT_SUCCESS; } |
