From: Johann Glaser Date: Wed, 5 Feb 2014 14:53:02 +0000 (+0100) Subject: improved help for "select" X-Git-Tag: yosys-0.2.0~81^2^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=667543de0b2a4103a7bfdaffad980ea86faf8e6b;p=yosys.git improved help for "select" --- diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc index 2561e8f64..bdfa7a64e 100644 --- a/passes/cmds/select.cc +++ b/passes/cmds/select.cc @@ -690,15 +690,18 @@ struct SelectPass : public Pass { log("\n"); log(" -set \n"); log(" do not modify the current selection. instead save the new selection\n"); - log(" under the given name (see @ below).\n"); + log(" under the given name (see @ below). to save the current selection,\n"); + log(" use \"select -set %%\"\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");