Browse Source

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

master3.3
Mike khiretskiy 8 years ago
parent
commit
a90c02ecfc
  1. 8
      update/update.py
  2. 2
      update/variables/update.py

8
update/update.py

@ -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:

2
update/variables/update.py

@ -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