Whamcloud - gitweb
ChangeLog, fsck.c:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 12 May 2001 16:12:12 +0000 (16:12 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 May 2001 16:12:12 +0000 (16:12 +0000)
  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

include/linux/ChangeLog
include/linux/jfs.h
misc/ChangeLog
misc/fsck.c

index fe2566b..f0959b8 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-12  Theodore Tso  <tytso@valinux.com>
+
+       * jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds;
+               if necessasry it can be set with configure --enable-jfs-debug
+
 2001-05-01  Theodore Tso  <tytso@valinux.com>
 
        * ext2_fs.h: New feature assignments for
index c8bdb32..d4a83de 100644 (file)
@@ -26,8 +26,6 @@
  */
 #ifdef __KERNEL__
 #define JFS_DEBUG
-#else
-#define JFS_DEBUG
 #endif
 
 extern int journal_enable_debug;
index 490403f..3bdb897 100644 (file)
@@ -1,5 +1,7 @@
 2001-05-12  Theodore Tso  <tytso@valinux.com>
 
+       * fsck.c (PRS): fsck -? now prints the usage message.
+
        * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in, 
                mklost+found.8.in, tune2fs.8.in: Fix typo; removed
                excess "anonymous" in the AVAILABILITY section.
index 2c5699f..33b4028 100644 (file)
@@ -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;