blkid.c (main, print_tags): Add new option -o which allows the
user to control the output format of blkid.
diff --git a/misc/blkid.8.in b/misc/blkid.8.in
index b39a6bb..6a4ca2d 100644
--- a/misc/blkid.8.in
+++ b/misc/blkid.8.in
@@ -22,6 +22,10 @@
.I writecachefile
]
[
+.B \-o
+.I format
+]
+[
.B \-s
.I tag
]
@@ -59,6 +63,21 @@
.B \-h
Display a usage message and exit.
.TP
+.B \-o
+Display
+.BR blkid 's
+output using the specified format. The
+.I format
+parameter may be
+.IR full ,
+(the default),
+.IR value ,
+(only print the value of any tags printed by
+.BR blkid)
+or
+.I device
+(only print the device name).
+.TP
.B \-p
Probe all available devices. This is the default when displaying
tokens. When searching for a token normally the cache file is