jp: short option for progress is now -P instead of -g, so -g can be used for groups
This commit is contained in:
parent
b1f91fe568
commit
f31dd1adc0
2 changed files with 1 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ class Jp(object):
|
|||
|
||||
progress_parent = self.parents['progress'] = argparse.ArgumentParser(add_help=False)
|
||||
if progressbar:
|
||||
progress_parent.add_argument("-g", "--progress", action="store_true", help=_("Show progress bar"))
|
||||
progress_parent.add_argument("-P", "--progress", action="store_true", help=_("Show progress bar"))
|
||||
|
||||
def add_parser_options(self):
|
||||
self.parser.add_argument('--version', action='version', version=("%(name)s %(version)s %(copyleft)s" % {'name': prog_name, 'version': self.version, 'copyleft': copyleft}))
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import sys
|
|||
import os
|
||||
import os.path
|
||||
import tarfile
|
||||
#import tempfile
|
||||
from sat.core.i18n import _
|
||||
|
||||
__commands__ = ["File"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue