summaryrefslogtreecommitdiffstats
path: root/glances/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/main.py')
-rw-r--r--glances/main.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/glances/main.py b/glances/main.py
index 0c1c3dda..d2bf30c9 100644
--- a/glances/main.py
+++ b/glances/main.py
@@ -226,13 +226,11 @@ Examples of use:
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))
- 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')
+ 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
- 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('-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,