From 077b15dcaa457911caa5bf46f3cbd016bea19e0c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 25 Jan 2012 12:26:49 +0100 Subject: [PATCH] blkid: remove -w option from man page and usage() output The option does not have any effect, the original functionality was removed from e2fsprogs in year 2003 by commit 50b380b4d4ab668bad45033e3a8aaf93c7f42844 git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git So.. don't propagate the option to users in year 2012 :-) Signed-off-by: Karel Zak --- misc-utils/blkid.8 | 13 ------------- misc-utils/blkid.c | 11 ++--------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index c8794a3b9e..31805c6116 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -19,8 +19,6 @@ blkid \- locate/print block device attributes .RB [ \-dghlv ] .RB [ \-c .IR file ] -.RB [ \-w -.IR file ] .RB [ \-o .IR format ] .in +6 @@ -238,17 +236,6 @@ Look up the device that uses this \fIuuid\fR. For more details see the \fB-L\fR .B \-v Display version number and exit. .TP -.BI \-w " writecachefile" -Write the device cache to -.I writecachefile -instead of writing it to the default cache file -.IR /etc/blkid.tab . -If you don't want to save the cache at all, specify -.IR /dev/null. -If not specified, it will be the same file as that given with the -.B \-c -option. -.TP .I device Display tokens from only the specified device. It is possible to give multiple diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c index 0ff89d66f5..2976bca026 100644 --- a/misc-utils/blkid.c +++ b/misc-utils/blkid.c @@ -62,7 +62,7 @@ static void usage(int error) "Usage:\n" " %1$s -L