1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 05:05:47 +01:00

Accept command line arguments in :rehash. Document :rehash, add :exttoggle, :extrehash.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-28 09:25:53 -05:00
parent 7b4e64f0bf
commit 83aa5e4857
6 changed files with 111 additions and 19 deletions

View File

@@ -358,6 +358,28 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
</description>
</item>
<item>
<tags>:reh :rehash</tags>
<spec>:reh<oa>ash</oa> <oa>arg</oa></spec>
<description>
<p>
Reload the &dactyl.appName; add-on, including all code, plugins,
and configuration. For users running directly from the development
repository, this is a good way to update to the latest version or
to test your changes.
</p>
<p>
Any arguments supplied are parsed as command line arguments as
specified in <t>startup-options</t>.
</p>
<warning>
Not all plugins are designed to cleanly un-apply during a rehash.
While official plugins are safe, beware of possibility instability
if you rehash while running third-party plugins.
</warning>
</description>
</item>
<item>
<tags>:re :reload</tags>
<spec>:re<oa>load</oa><oa>!</oa></spec>

View File

@@ -153,10 +153,33 @@
</description>
</item>
<item>
<tags>:extr :extrehash</tags>
<spec>:extr<oa>ehash</oa> <a>extension</a></spec>
<spec>:extr<oa>ehash</oa></spec>
<description>
<p>
Toggle an extension's enabled status twice. This is useful for rebooting
a restartless extension.
</p>
</description>
</item>
<item>
<tags>:extt :exttoggle</tags>
<spec>:extt<oa>oggle</oa> <a>extension</a></spec>
<spec>:extt<oa>oggle</oa></spec>
<description>
<p>
Toggle an extension's enabled status.
</p>
</description>
</item>
<item>
<tags>:extu :extupdate</tags>
<spec>:extu<oa>pdate</oa> <a>extension</a></spec>
<spec>:extu<oa>pdate</oa>!</spec>
<spec>:extu<oa>pdate</oa><oa>!</oa></spec>
<description>
<p>
Update an extension. When <oa>!</oa> is given, update all