equo: add "equo upgrade" option (alias for equo world)
This commit is contained in:
+2
-2
@@ -96,7 +96,7 @@ myopts = [
|
||||
None,
|
||||
(1,'hop <branch>',1,_('upgrade your distribution to a new release (branch)')),
|
||||
None,
|
||||
(1,'world',2,_('update system with the latest available packages')),
|
||||
(1,'world (or upgrade)',1,_('update system with the latest available packages')),
|
||||
(2,'--ask',2,_('ask before making any changes')),
|
||||
(2,'--fetch',2,_('just download packages')),
|
||||
(2,'--pretend',1,_('only show what would be done')),
|
||||
@@ -509,7 +509,7 @@ def main():
|
||||
elif options[0] == "moo":
|
||||
do_moo()
|
||||
|
||||
elif options[0] in ("install", "remove", "config", "world",
|
||||
elif options[0] in ("install", "remove", "config", "world", "upgrade",
|
||||
"deptest", "unusedpackages", "libtest", "source", "hop"):
|
||||
|
||||
import text_ui
|
||||
|
||||
+1
-1
@@ -141,7 +141,7 @@ def package(options):
|
||||
print_error(red(" %s." % (_("Nothing to do"),) ))
|
||||
rc = 127
|
||||
|
||||
elif (options[0] == "world"):
|
||||
elif (options[0] in ("world","upgrade",)):
|
||||
status, rc = worldUpdate(onlyfetch = equoRequestOnlyFetch,
|
||||
replay = (equoRequestReplay or equoRequestEmptyDeps),
|
||||
resume = equoRequestResume,
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ print description too (w/--quiet)
|
||||
|
||||
upgrade your distribution to a new release (branch)
|
||||
|
||||
=item B<world>
|
||||
=item B<world (or upgrade)>
|
||||
|
||||
update system with the latest available packages
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "EQUO 1"
|
||||
.TH EQUO 1 "2009-05-15" "perl v5.8.8" "Entropy"
|
||||
.TH EQUO 1 "2009-05-16" "perl v5.8.8" "Entropy"
|
||||
.SH "NAME"
|
||||
\&\fBequo\fR \- Official Sabayon Linux Package Manager Client
|
||||
.SH "SYNOPSIS"
|
||||
@@ -237,8 +237,8 @@ print description too (w/\-\-quiet)
|
||||
.IP "\fBhop <branch\fR>" 4
|
||||
.IX Item "hop <branch>"
|
||||
upgrade your distribution to a new release (branch)
|
||||
.IP "\fBworld\fR" 4
|
||||
.IX Item "world"
|
||||
.IP "\fBworld (or upgrade)\fR" 4
|
||||
.IX Item "world (or upgrade)"
|
||||
update system with the latest available packages
|
||||
.RS 4
|
||||
.IP "\fB\-\-ask (\-a)\fR" 4
|
||||
|
||||
Reference in New Issue
Block a user