1 |
Author: zmedico |
2 |
Date: 2009-10-26 05:46:39 +0000 (Mon, 26 Oct 2009) |
3 |
New Revision: 14730 |
4 |
|
5 |
Modified: |
6 |
main/trunk/man/emerge.1 |
7 |
main/trunk/pym/_emerge/help.py |
8 |
main/trunk/pym/_emerge/main.py |
9 |
Log: |
10 |
Add -R as a shortcut for --depclean. Thanks to Jonathan Callen <abcd@g.o> for |
11 |
the suggestion. |
12 |
|
13 |
|
14 |
Modified: main/trunk/man/emerge.1 |
15 |
=================================================================== |
16 |
--- main/trunk/man/emerge.1 2009-10-25 23:57:44 UTC (rev 14729) |
17 |
+++ main/trunk/man/emerge.1 2009-10-26 05:46:39 UTC (rev 14730) |
18 |
@@ -105,7 +105,7 @@ |
19 |
has completed. This usually entails configuration file setup or other similar |
20 |
setups that the user may wish to run. |
21 |
.TP |
22 |
-.BR \-\-depclean |
23 |
+.BR "\-\-depclean (-R)" |
24 |
Cleans the system by removing packages that are not associated |
25 |
with explicitly merged packages. Depclean works by creating the |
26 |
full dependency tree from the @world set, |
27 |
|
28 |
Modified: main/trunk/pym/_emerge/help.py |
29 |
=================================================================== |
30 |
--- main/trunk/pym/_emerge/help.py 2009-10-25 23:57:44 UTC (rev 14729) |
31 |
+++ main/trunk/pym/_emerge/help.py 2009-10-26 05:46:39 UTC (rev 14730) |
32 |
@@ -14,7 +14,7 @@ |
33 |
print(" "+turquoise("emerge")+" < "+turquoise("--sync")+" | "+turquoise("--metadata")+" | "+turquoise("--info")+" >") |
34 |
print(" "+turquoise("emerge")+" "+turquoise("--resume")+" [ "+green("--pretend")+" | "+green("--ask")+" | "+green("--skipfirst")+" ]") |
35 |
print(" "+turquoise("emerge")+" "+turquoise("--help")+" [ "+green("--verbose")+" ] ") |
36 |
- print(bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhjkKlnNoOpPqrsStuvV")+"]") |
37 |
+ print(bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhjkKlnNoOpPqrRsStuvV")+"]") |
38 |
print(" [ " + green("--color")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ] [ "+green("--columns")+" ]") |
39 |
print(" [ "+green("--complete-graph")+" ] [ "+green("--deep")+" ]") |
40 |
print(" [ "+green("--jobs") + " " + turquoise("JOBS")+" ] [ "+green("--keep-going")+" ] [ " + green("--load-average")+" " + turquoise("LOAD") + " ]") |
41 |
@@ -66,7 +66,7 @@ |
42 |
print(" emerge process has completed. This usually entails configuration") |
43 |
print(" file setup or other similar setups that the user may wish to run.") |
44 |
print() |
45 |
- print(" "+green("--depclean")) |
46 |
+ print(" "+green("--depclean")+" ("+green("-R")+" short option)") |
47 |
|
48 |
paragraph = "Cleans the system by removing packages that are " + \ |
49 |
"not associated with explicitly merged packages. Depclean works " + \ |
50 |
|
51 |
Modified: main/trunk/pym/_emerge/main.py |
52 |
=================================================================== |
53 |
--- main/trunk/pym/_emerge/main.py 2009-10-25 23:57:44 UTC (rev 14729) |
54 |
+++ main/trunk/pym/_emerge/main.py 2009-10-26 05:46:39 UTC (rev 14730) |
55 |
@@ -87,6 +87,7 @@ |
56 |
"p":"--pretend", "P":"--prune", |
57 |
"q":"--quiet", |
58 |
"r":"--resume", |
59 |
+"R":"--depclean", |
60 |
"s":"--search", "S":"--searchdesc", |
61 |
"t":"--tree", |
62 |
"u":"--update", |