mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-01 14:04:50 +03:00
Use -V (capital V) for version
-v is for verbose.
This commit is contained in:
parent
950b12cfcf
commit
4b40e3fe0e
@ -60,7 +60,7 @@ class GlancesMain(object):
|
||||
"""Init all the command line arguments."""
|
||||
version = "Glances v" + __version__ + " with psutil v" + __psutil_version__
|
||||
parser = argparse.ArgumentParser(prog=__appname__, conflict_handler='resolve')
|
||||
parser.add_argument('-v', '--version', action='version', version=version)
|
||||
parser.add_argument('-V', '--version', action='version', version=version)
|
||||
parser.add_argument('-b', '--byte', action='store_true', default=False,
|
||||
dest='byte', help=_('display network rate in byte per second'))
|
||||
parser.add_argument('-B', '--bind', default='0.0.0.0', dest='bind_address',
|
||||
|
Loading…
Reference in New Issue
Block a user