From 58745f35996cb70b51a7e25a2398ee5cbe9295c3 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 21 Jun 2017 15:33:57 +0200 Subject: fsck: add --help and --version Also cleanup usage() function, never write usage to stderr. FIXME: - currently strtou32_or_err() exits with wrong exit code. - option -C does not use a safe strto*_err function Signed-off-by: Ruediger Meier --- disk-utils/fsck.8 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'disk-utils/fsck.8') diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8 index 3148e4284..b3096bec6 100644 --- a/disk-utils/fsck.8 +++ b/disk-utils/fsck.8 @@ -309,6 +309,12 @@ Don't show the title on startup. .B \-V Produce verbose output, including all filesystem-specific commands that are executed. +.TP +\fB\-?\fR, \fB\-\-help\fR +Display help text and exit. +.TP +\fB\-\-version\fR +Display version information and exit. .SH FILESYSTEM SPECIFIC OPTIONS .B Options which are not understood by fsck are passed to the filesystem-specific checker! .PP -- cgit v1.2.3-55-g7522