From 3e135cc3f4002a3f64af6b912912a39e24eb4d9f Mon Sep 17 00:00:00 2001
From: Justin Stressman <jstressman@gmail.com>
Date: Sun, 27 Jul 2014 12:08:47 +0000
Subject: [PATCH] Add examples to checkfs help output.
---
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 9c63de6..3b94874 100644
a
|
b
|
usage(FILE* output)
|
23 | 23 | "Usage: %s <options> <device|volume name>\n" |
24 | 24 | "\n" |
25 | 25 | "Options:\n" |
26 | | " -h, --help - print this help text\n" |
27 | | " -c, --check-only - do not make any changes to the file system\n", |
28 | | kProgramName); |
| 26 | " -h, --help\t\t- print this help text\n" |
| 27 | " -c, --check-only\t- do not make any changes to the file system\n" |
| 28 | "\n" |
| 29 | "Examples:\n" |
| 30 | " %s -c /Haiku\n" |
| 31 | " %s /dev/disk/ata/0/master/raw\n", |
| 32 | kProgramName, kProgramName, kProgramName); |
29 | 33 | } |
30 | 34 | |
31 | 35 | |