diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-11 13:04:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-11 13:04:22 +0200 |
| commit | 57d040e3e6b6d0257c0ba5a914396520b18d9d87 (patch) | |
| tree | 78be4974d8a24e983034b0962ac5435f1b1d0b53 /tooling/fsck.hefs.cc | |
| parent | 7690c1976b3127e17370708aef47ba3f18f3b8c2 (diff) | |
| parent | f775566da3cf4f8e3ffd4ca6dfe0a3c7776c3b35 (diff) | |
Merge pull request #30 from nekernel-org/dev0.0.2e2
0.0.2e2
Diffstat (limited to 'tooling/fsck.hefs.cc')
| -rw-r--r-- | tooling/fsck.hefs.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tooling/fsck.hefs.cc b/tooling/fsck.hefs.cc index 05cf0660..9d67aa38 100644 --- a/tooling/fsck.hefs.cc +++ b/tooling/fsck.hefs.cc @@ -5,11 +5,16 @@ ------------------------------------------- */ #include <tooling/hefs.h> +#include <tooling/mkfs.h> #include <cstdlib> int main(int argc, char** argv) { - (void) (argc); - (void) (argv); + if (argc < 2) { + mkfs::console_out() << "fsck: hefs: usage: fsck.hefs i <input_device>" << "\n"; + return EXIT_FAILURE; + } - return EXIT_FAILURE; + (void) argv; + + return EXIT_SUCCESS; }
\ No newline at end of file |
