summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorJohann Glaser <Johann.Glaser@gmx.at>2014-02-05 15:53:02 +0100
committerJohann Glaser <Johann.Glaser@gmx.at>2014-02-05 15:53:02 +0100
commit667543de0b2a4103a7bfdaffad980ea86faf8e6b (patch)
tree6c3e356acc74de8dbafe7f9a5f7645ffffff7255 /passes
parent3b5c462273686d7d479a988718a26468f0bc3ef5 (diff)
improved help for "select"
Diffstat (limited to 'passes')
-rw-r--r--passes/cmds/select.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc
index 2561e8f6..bdfa7a64 100644
--- a/passes/cmds/select.cc
+++ b/passes/cmds/select.cc
@@ -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");