1 |
commit: 28505920f31d9e0ccc15bf755255b9ea4408491a |
2 |
Author: Michael (kensington) <gentoo <AT> scribeofthenile <DOT> com> |
3 |
AuthorDate: Thu Dec 29 21:23:19 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 21:23:19 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/webapp-config.git;a=commit;h=28505920 |
7 |
|
8 |
Update the docs for --lui |
9 |
|
10 |
Reported-By: Maurice Volaski <mvolaski <AT> aecom.yu.edu> |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
X-Gentoo-Bug: 379581 |
13 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=379581 |
14 |
|
15 |
--- |
16 |
WebappConfig/config.py | 8 +++----- |
17 |
doc/webapp-config.8.xml | 13 +++++-------- |
18 |
2 files changed, 8 insertions(+), 13 deletions(-) |
19 |
|
20 |
diff --git a/WebappConfig/config.py b/WebappConfig/config.py |
21 |
index e5bbf1e..0968dee 100644 |
22 |
--- a/WebappConfig/config.py |
23 |
+++ b/WebappConfig/config.py |
24 |
@@ -572,11 +572,9 @@ class Config: |
25 |
'--lui', |
26 |
action='store_true', |
27 |
help = 'List all master images which currently a' |
28 |
- 're not used. Use * for the package name and/or ' |
29 |
- 'version number to list more than one package / ' |
30 |
- 'version of a package. Remember to include the *' |
31 |
- ' in single quotes to stop your shell from expan' |
32 |
- 'ding it first!!') |
33 |
+ 're not used. Optionally, provide a package and/' |
34 |
+ 'or version number as arguments to restrict the ' |
35 |
+ 'listing.') |
36 |
|
37 |
group.add_option('--show-installed', |
38 |
'--si', |
39 |
|
40 |
diff --git a/doc/webapp-config.8.xml b/doc/webapp-config.8.xml |
41 |
index e51e172..e3f2c08 100644 |
42 |
--- a/doc/webapp-config.8.xml |
43 |
+++ b/doc/webapp-config.8.xml |
44 |
@@ -133,16 +133,14 @@ |
45 |
<arg choice="plain"> |
46 |
<option>--list-unused-installs</option> |
47 |
</arg> |
48 |
- <group choice="opt"> |
49 |
- <arg> |
50 |
- <replaceable>app-name</replaceable> |
51 |
+ <arg choice="opt"> |
52 |
+ <arg choice="req"> |
53 |
+ <replaceable>app-version</replaceable> |
54 |
</arg> |
55 |
- </group> |
56 |
- <group choice="opt"> |
57 |
- <arg> |
58 |
+ <arg choice="opt"> |
59 |
<replaceable>app-version</replaceable> |
60 |
</arg> |
61 |
- </group> |
62 |
+ </arg> |
63 |
</cmdsynopsis> |
64 |
|
65 |
<cmdsynopsis> |
66 |
@@ -281,7 +279,6 @@ |
67 |
<term><option>--lui</option> <replaceable>app-name</replaceable> <replaceable>app-version</replaceable></term> |
68 |
<listitem> |
69 |
<para>Outputs a list of all the master copies of the <replaceable>app-name</replaceable>-<replaceable>app-version</replaceable> package that have not been installed using <command>webapp-config</command> <option>-I</option>.</para> |
70 |
- <para>Both <replaceable>app-name</replaceable> or <replaceable>app-version</replaceable> can be <emphasis>*</emphasis> to search for multiple packages or versions.</para> |
71 |
</listitem> |
72 |
</varlistentry> |