changeset 823:300b4de701a6

jp: short option for progress is now -P instead of -g, so -g can be used for groups
author Goffi <goffi@goffi.org>
date Mon, 17 Feb 2014 18:57:09 +0100
parents 30ed86ea1c82
children c304ce32042b
files frontends/src/jp/base.py frontends/src/jp/cmd_file.py
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Mon Feb 17 18:57:06 2014 +0100
+++ b/frontends/src/jp/base.py	Mon Feb 17 18:57:09 2014 +0100
@@ -114,7 +114,7 @@
 
         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}))
--- a/frontends/src/jp/cmd_file.py	Mon Feb 17 18:57:06 2014 +0100
+++ b/frontends/src/jp/cmd_file.py	Mon Feb 17 18:57:09 2014 +0100
@@ -24,7 +24,6 @@
 import os
 import os.path
 import tarfile
-#import tempfile
 from sat.core.i18n import _
 
 __commands__ = ["File"]