From 905284b397b357a7d61240b777dbf598c6c53435 Mon Sep 17 00:00:00 2001 From: Justin Stressman Date: Sun, 27 Jul 2014 12:08:47 +0000 Subject: [PATCH] Add examples to checkfs help output. Fixes #11075 --- src/bin/checkfs.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bin/checkfs.cpp b/src/bin/checkfs.cpp index 97fe65d134..4b06aaf383 100644 --- a/src/bin/checkfs.cpp +++ b/src/bin/checkfs.cpp @@ -23,9 +23,13 @@ usage(FILE* output) "Usage: %s \n" "\n" "Options:\n" - " -h, --help - print this help text\n" - " -c, --check-only - do not make any changes to the file system\n", - kProgramName); + " -h, --help\t\t- print this help text\n" + " -c, --check-only\t- do not make any changes to the file system\n" + "\n" + "Examples:\n" + " %s -c /Haiku\n" + " %s /dev/disk/ata/0/master/raw\n", + kProgramName, kProgramName, kProgramName); }