ChangeLog, mke2fs.c:
mke2fs.c (usage): Remove the deprecated -s option from the usage message.
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 702c016..9dbf050 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -92,8 +92,7 @@
" [-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 @@
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 @@
case 'r':
param.s_rev_level = atoi(optarg);
break;
- case 's':
+ case 's': /* deprecated */
sparse_option = atoi(optarg);
break;
#ifdef EXT2_DYNAMIC_REV