hrev54147 adds 1 changeset to branch 'master'
old head: 1826e60db574bf3cb8f2c394897c0b82e50dc3a0
new head: 905284b397b357a7d61240b777dbf598c6c53435
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=905284b397b3+%5E1826e60db574
----------------------------------------------------------------------------
905284b397b3: Add examples to checkfs help output.
Fixes #11075
[ Justin Stressman <jstressman@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54147
Commit: 905284b397b357a7d61240b777dbf598c6c53435
URL: https://git.haiku-os.org/haiku/commit/?id=905284b397b3
Author: Justin Stressman <jstressman@xxxxxxxxx>
Date: Sun Jul 27 12:08:47 2014 UTC
Committer: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Commit-Date: Fri May 8 17:35:53 2020 UTC
Ticket: https://dev.haiku-os.org/ticket/11075
----------------------------------------------------------------------------
1 file changed, 7 insertions(+), 3 deletions(-)
src/bin/checkfs.cpp | 10 +++++++---
----------------------------------------------------------------------------
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 <options> <device|volume name>\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);
}