summaryrefslogtreecommitdiff
path: root/misc/fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-05-12 16:12:12 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-05-12 16:12:12 +0000
commit6930372eff810d0daf39febbb1129d8cce815d13 (patch)
treef9780ad3e4b1f057133e460f6ebc0f41b13acce7 /misc/fsck.c
parent12da49c9472d555234df732738b19bed520c8550 (diff)
downloade2fsprogs-6930372eff810d0daf39febbb1129d8cce815d13.tar.gz
ChangeLog, fsck.c:
fsck.c (PRS): fsck -? now prints the usage message. ChangeLog, jfs.h: jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; if necessasry it can be set with configure --enable-jfs-debug
Diffstat (limited to 'misc/fsck.c')
-rw-r--r--misc/fsck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/fsck.c b/misc/fsck.c
index 2c5699ff..33b40289 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -902,6 +902,9 @@ static void PRS(int argc, char *argv[])
case '-':
opts_for_fsck++;
break;
+ case '?':
+ usage();
+ break;
default:
options[++opt] = arg[j];
break;