Переименован параметр командной строки

master3.3
Mike khiretskiy 10 years ago
parent bc208e2e09
commit a90c02ecfc

@ -285,8 +285,8 @@ class Update:
self.endTask()
_print = self.color_print
if max_num > 1:
one = _print.foreground(Colors.YELLOW).bold("{0}", num)
two = _print.foreground(Colors.YELLOW).bold("{0}", max_num)
one = _print.bold("{0}", num)
two = _print.bold("{0}", max_num)
part = _(" ({current} of {maximum})").format(current=one,
maximum=two)
else:
@ -320,8 +320,8 @@ class Update:
self.endTask()
_print = self.color_print
if max_num > 1:
one = _print.foreground(Colors.YELLOW).bold("{0}", num)
two = _print.foreground(Colors.YELLOW).bold("{0}", max_num)
one = _print.bold("{0}", num)
two = _print.bold("{0}", max_num)
part = _(" ({current} of {maximum})").format(current=one,
maximum=two)
else:

@ -401,7 +401,7 @@ class VariableClUpdateSyncOnlySet(Variable):
"""
type = "bool"
value = "off"
opt = ["-s","--sync-only"]
opt = ["-s", "--sync"]
def init(self):
self.label = _("Only synchronize repositories")

Loading…
Cancel
Save