Correct help message

This commit is contained in:
Nicolas Hennion 2014-01-18 10:52:23 +01:00
parent cdc9516804
commit 36e91f1686
2 changed files with 1 additions and 9 deletions

View File

@ -18,11 +18,6 @@
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
__appname__ = 'glances'
__version__ = "2.0_Alpha"
__author__ = "Nicolas Hennion <nicolas@nicolargo.com>"
__license__ = "LGPL"
from .core.glances_core import GlancesCore from .core.glances_core import GlancesCore
def main(argv=None): def main(argv=None):

View File

@ -215,7 +215,7 @@ class GlancesCore(object):
# Bold attribute for Curse display (not supported by all terminal) # Bold attribute for Curse display (not supported by all terminal)
self.parser.add_argument('-z', '--no_bold', self.parser.add_argument('-z', '--no_bold',
help=_('disable process module'), help=_('disable bold mode in the terminal'),
action='store_false') action='store_false')
# Per CPU display tag # Per CPU display tag
self.parser.add_argument('-1', '--percpu', self.parser.add_argument('-1', '--percpu',
@ -301,9 +301,6 @@ class GlancesCore(object):
# !!! Debug # !!! Debug
print args print args
# print "self.sensors_tag=%s" % self.sensors_tag
# print "self.html_tag=%s" % self.html_tag
# print "self.csv_tag=%s" % self.csv_tag
def get_password(self, description='', confirm=False): def get_password(self, description='', confirm=False):
""" """