summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.c
diff options
context:
space:
mode:
authorKarel Zak2012-03-26 13:09:27 +0200
committerKarel Zak2012-03-26 13:09:27 +0200
commit24d741d88a31863e82feb3f3a4516d7df006378b (patch)
tree9693db14f0fc955a353895bfa43b325218c25a97 /misc-utils/blkid.c
parenttests: update (diff)
downloadkernel-qcow2-util-linux-24d741d88a31863e82feb3f3a4516d7df006378b.tar.gz
kernel-qcow2-util-linux-24d741d88a31863e82feb3f3a4516d7df006378b.tar.xz
kernel-qcow2-util-linux-24d741d88a31863e82feb3f3a4516d7df006378b.zip
docs: mark udev and list blkid(8) output formats deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r--misc-utils/blkid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index dfdb8b96b..1e8073ede 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -31,8 +31,8 @@ extern int optind;
#define OUTPUT_VALUE_ONLY (1 << 1)
#define OUTPUT_DEVICE_ONLY (1 << 2)
-#define OUTPUT_PRETTY_LIST (1 << 3)
-#define OUTPUT_UDEV_LIST (1 << 4)
+#define OUTPUT_PRETTY_LIST (1 << 3) /* deprecated */
+#define OUTPUT_UDEV_LIST (1 << 4) /* deprecated */
#define OUTPUT_EXPORT_LIST (1 << 5)
#define LOWPROBE_TOPOLOGY (1 << 1)
@@ -73,7 +73,7 @@ static void usage(int error)
" -h print this usage message and exit\n"
" -g garbage collect the blkid cache\n"
" -o <format> output format; can be one of:\n"
- " value, device, list, udev, export or full; (default: full)\n"
+ " value, device, export or full; (default: full)\n"
" -k list all known filesystems/RAIDs and exit\n"
" -s <tag> show specified tag(s) (default show all tags)\n"
" -t <token> find device with a specific token (NAME=value pair)\n"
@@ -749,7 +749,7 @@ int main(int argc, char **argv)
else if (!strcmp(optarg, "device"))
output_format = OUTPUT_DEVICE_ONLY;
else if (!strcmp(optarg, "list"))
- output_format = OUTPUT_PRETTY_LIST;
+ output_format = OUTPUT_PRETTY_LIST; /* deprecated */
else if (!strcmp(optarg, "udev"))
output_format = OUTPUT_UDEV_LIST;
else if (!strcmp(optarg, "export"))