From 54bad3644f4ea8132a789e827d05d2e712b4f547 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 8 May 2007 17:17:33 +1000 Subject: Add --export option to --detail to use key=value pairs. udev likes to get information about a device as key=value pairs so it can create disk/by-id links etc. So add --export flag which causes the output of --detail to easily parsable. From: Kay Sievers --- ReadMe.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ReadMe.c') diff --git a/ReadMe.c b/ReadMe.c index 9063ace0..a967b3fa 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -166,6 +166,7 @@ struct option long_options[] = { /* For Detail/Examine */ {"brief", 0, 0, 'b'}, + {"export", 0, 0, 'Y'}, {"sparc2.2", 0, 0, Sparc22}, {"test", 0, 0, 't'}, @@ -239,6 +240,8 @@ char OptionHelp[] = " --verbose -v : Be more verbose about what is happening\n" " --quiet -q : Don't print un-necessary messages\n" " --brief -b : Be less verbose, more brief\n" +" --export -Y : With --detail, use key=value format for easy\n" +" import into environment\n" " --force -f : Override normal checks and be more forceful\n" "\n" " --assemble -A : Assemble an array\n" -- cgit v1.2.3