1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 23:04:13 +01:00

Add +purgecaches startup flag. Process startup flags in :restart. Don't purge caches on :rehash.

This commit is contained in:
Kris Maglione
2011-10-01 02:36:27 -04:00
parent 119f117e4d
commit 2f776eebe7
7 changed files with 80 additions and 38 deletions

View File

@@ -76,6 +76,18 @@
</description>
</item>
<item>
<tags>+purgecaches</tags>
<strut/>
<spec>+purgecaches</spec>
<description>
<p>
Purges &dactyl.appName; caches at startup. May occasionally be
necessary after making local changes to the source tree.
</p>
</description>
</item>
<h2 tag="initialization startup">Initialization</h2>
<p>At startup, &dactyl.appName; completes the following tasks in order. </p>
@@ -182,10 +194,12 @@
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 possible instability
@@ -196,9 +210,14 @@
<item>
<tags>:res :restart</tags>
<spec>:res<oa>tart</oa></spec>
<spec>:res<oa>tart</oa> <oa>arg</oa></spec>
<description short="true">
<p>Force &dactyl.host; to restart. Useful when installing extensions.</p>
<p>
Any arguments supplied are parsed as command-line arguments as
specified in <t>startup-options</t>.
</p>
</description>
</item>