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