Merge lp:~themue/juju-core/docs-004-cmd-unset into lp:juju-core/docs

Proposed by Frank Mueller
Status: Merged
Merged at revision: 138
Proposed branch: lp:~themue/juju-core/docs-004-cmd-unset
Merge into: lp:juju-core/docs
Diff against target: 32 lines (+7/-1)
2 files modified
htmldocs/charms-config.html (+6/-1)
htmldocs/commands.html (+1/-0)
To merge this branch: bzr merge lp:~themue/juju-core/docs-004-cmd-unset
Reviewer Review Type Date Requested Status
Nick Veitch Pending
Review via email: mp+188545@code.launchpad.net

Commit message

Added documentation for unset command.

To post a comment you must log in.
Revision history for this message
Nick Veitch (evilnick) wrote :

Thnaks for that. I think we may need to explain more about the persistence of config options at some point, but this is useful :)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'htmldocs/charms-config.html'
2--- htmldocs/charms-config.html 2013-09-27 14:53:30 +0000
3+++ htmldocs/charms-config.html 2013-10-01 10:41:47 +0000
4@@ -131,10 +131,15 @@
5 type: string
6 value: vector
7 </pre>
8- <p>You can set the options using the <code>juju set &LT;service&GT;</code>, specifying multiple key:value pairs if necessary:</p>
9+ <p>You can set the options using the <code>juju set &LT;service&GT;</code>, specifying multiple key=value pairs if necessary:</p>
10 <pre class="prettyprint">
11 juju set mediawiki skin=monoblock name='Juju Wiki'
12 </pre>
13+ <p>Setting options back to their default value is done using the <code>unset</code> command followed
14+ by the service and the respective options:</p>
15+<pre class="prettyprint">
16+juju unset mediawiki admins name
17+</pre>
18 </section>
19 <!--Postamble-->
20 </div>
21
22=== modified file 'htmldocs/commands.html'
23--- htmldocs/commands.html 2013-09-27 14:53:30 +0000
24+++ htmldocs/commands.html 2013-10-01 10:41:47 +0000
25@@ -104,6 +104,7 @@
26 <li><strong>sync-tools</strong> copy tools from the official bucket into a local environment</li>
27 <li><strong>terminate-machine</strong> alias for destroy-machine</li>
28 <li><strong>unexpose</strong> unexpose a service</li>
29+ <li><strong>unset</strong> set service config options back to their default</li>
30 <li><strong>upgrade-charm</strong> upgrade a service's charm</li>
31 <li><strong>upgrade-juju</strong> upgrade the tools in a juju environment</li>
32 <li><strong>version</strong> print the current version</li>

Subscribers

People subscribed via source and target branches