mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-03 15:15:02 +03:00
Add some options on Windows
This commit is contained in:
parent
9cee73212a
commit
3bb1ced681
@ -227,11 +227,13 @@ Start the client browser (browser mode):\n\
|
||||
dest='webserver', help='run Glances in web server mode (bottle needed)')
|
||||
parser.add_argument('--cached-time', default=self.cached_time, type=int,
|
||||
dest='cached_time', help='set the server cache time [default: {} sec]'.format(self.cached_time))
|
||||
parser.add_argument('--open-web-browser', action='store_true', default=False,
|
||||
dest='open_web_browser', help='try to open the Web UI in the default Web browser')
|
||||
if not WINDOWS:
|
||||
parser.add_argument('--open-web-browser', action='store_true', default=False,
|
||||
dest='open_web_browser', help='try to open the Web UI in the default Web browser')
|
||||
# Display options
|
||||
parser.add_argument('-q', '--quiet', default=False, action='store_true',
|
||||
dest='quiet', help='do not display the curses interface')
|
||||
if not WINDOWS:
|
||||
parser.add_argument('-q', '--quiet', default=False, action='store_true',
|
||||
dest='quiet', help='do not display the curses interface')
|
||||
parser.add_argument('-f', '--process-filter', default=None, type=str,
|
||||
dest='process_filter', help='set the process filter pattern (regular expression)')
|
||||
parser.add_argument('--process-short-name', action='store_true', default=False,
|
||||
|
Loading…
Reference in New Issue
Block a user