library/apt: consistently use underscores in examples.

To be consistent with the table showing available options, use
underscores in the example tasks, not hyphens, as the table doesn't
list hyphenated versions of option names, so it looks like the
examples could have typos in them.
pull/1924/head
Blair Zajac 12 years ago
parent b0ab81b237
commit 811c711328

@ -70,7 +70,7 @@ options:
author: Matthew Williams author: Matthew Williams
notes: [] notes: []
examples: examples:
- code: "apt: pkg=foo update-cache=yes" - code: "apt: pkg=foo update_cache=yes"
description: Update repositories cache and install C(foo) package description: Update repositories cache and install C(foo) package
- code: "apt: pkg=foo state=removed" - code: "apt: pkg=foo state=removed"
description: Remove C(foo) package description: Remove C(foo) package
@ -78,9 +78,9 @@ examples:
description: Install the package C(foo) description: Install the package C(foo)
- code: "apt: pkg=foo=1.00 state=installed" - code: "apt: pkg=foo=1.00 state=installed"
description: Install the version '1.00' of package C(foo) description: Install the version '1.00' of package C(foo)
- code: "apt: pkg=nginx state=latest default-release=squeeze-backports update-cache=yes" - code: "apt: pkg=nginx state=latest default_release=squeeze-backports update_cache=yes"
description: Update the repository cache and update package C(ngnix) to latest version using default release C(squeeze-backport) description: Update the repository cache and update package C(ngnix) to latest version using default release C(squeeze-backport)
- code: "apt: pkg=openjdk-6-jdk state=latest install-recommends=no" - code: "apt: pkg=openjdk-6-jdk state=latest install_recommends=no"
description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends) description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends)
''' '''

Loading…
Cancel
Save