summaryrefslogtreecommitdiffhomepage
path: root/tooling/fsck.hefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/fsck.hefs.cc')
-rw-r--r--tooling/fsck.hefs.cc11
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