improved help for "select"
authorJohann Glaser <Johann.Glaser@gmx.at>
Wed, 5 Feb 2014 14:53:02 +0000 (15:53 +0100)
committerJohann Glaser <Johann.Glaser@gmx.at>
Wed, 5 Feb 2014 14:53:02 +0000 (15:53 +0100)
passes/cmds/select.cc

index 2561e8f64d92685857b9a974af25d99db792498e..bdfa7a64eb8094b1fdac83ae6fc6108df4ad91bd 100644 (file)
@@ -690,15 +690,18 @@ struct SelectPass : public Pass {
                log("\n");
                log("    -set <name>\n");
                log("        do not modify the current selection. instead save the new selection\n");
-               log("        under the given name (see @<name> below).\n");
+               log("        under the given name (see @<name> below). to save the current selection,\n");
+               log("        use \"select -set <name> %%\"\n");
                log("\n");
                log("    -assert-none\n");
-               log("        asserts that the given selection is empty. i.e. produce an error if\n");
-               log("        any object matching the selection is found.\n");
+               log("        do not modify the current selection. instead assert that the given\n");
+               log("        selection is empty. i.e. produce an error if any object matching the\n");
+               log("        selection is found.\n");
                log("\n");
                log("    -assert-any\n");
-               log("        asserts that the given selection is non-empty. i.e. produce an error\n");
-               log("        if no object matching the selection is found.\n");
+               log("        do not modify the current selection. instead assert that the given\n");
+               log("        selection is non-empty. i.e. produce an error if no object matching\n");
+               log("        the selection is found.\n");
                log("\n");
                log("    -list\n");
                log("        list all objects in the current selection\n");