Whamcloud - gitweb
ChangeLog, mke2fs.c:
authorTheodore Ts'o <tytso@mit.edu>
Sun, 22 Apr 2001 03:47:23 +0000 (03:47 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 22 Apr 2001 03:47:23 +0000 (03:47 +0000)
  mke2fs.c (usage): Remove the deprecated -s option from the usage message.

misc/ChangeLog
misc/mke2fs.c

index 91d9be4..4d06bf3 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-21  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (usage): Remove the deprecated -s option from the usage
+               message.
+
 2001-04-16  Theodore Tso  <tytso@valinux.com>
 
        * mke2fs.c (main): Add better explanation about when the
index 702c016..9dbf050 100644 (file)
@@ -92,8 +92,7 @@ static void usage(void)
        " [-N number-of-inodes]\n\t[-m reserved-blocks-percentage] "
        "[-o creator-os] [-g blocks-per-group]\n\t[-L volume-label] "
        "[-M last-mounted-directory] [-O feature[,...]]\n\t"
-       "[-r fs-revision] [-R raid_opts] [-s sparse-super-flag]\n\t"
-       "[-qvSV] device [blocks-count]\n"),
+       "[-r fs-revision] [-R raid_opts] [-qvSV] device [blocks-count]\n"),
                program_name);
        exit(1);
 }
@@ -823,8 +822,8 @@ static void PRS(int argc, char *argv[])
                                int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE);
                        group_blk_max = blocksize * 8;
                        break;
-               case 'c':
-               case 't':       /* Check for bad blocks */
+               case 'c':       /* Check for bad blocks */
+               case 't':       /* deprecated */
                        cflag = 1;
                        break;
                case 'f':
@@ -896,7 +895,7 @@ static void PRS(int argc, char *argv[])
                case 'r':
                        param.s_rev_level = atoi(optarg);
                        break;
-               case 's':
+               case 's':       /* deprecated */
                        sparse_option = atoi(optarg);
                        break;
 #ifdef EXT2_DYNAMIC_REV