serve: mark --stdio and --cmdserver as "(ADVANCED)" flags
authorJun Wu <quark@fb.com>
Wed, 22 Feb 2017 18:26:12 -0800
changeset 31081 be74ce1b930f
parent 31080 6918c9215201
child 31082 abb92b3d370e
serve: mark --stdio and --cmdserver as "(ADVANCED)" flags This will hide them from the default --help output.
mercurial/commands.py
--- a/mercurial/commands.py	Tue Nov 01 14:50:45 2016 +0000
+++ b/mercurial/commands.py	Wed Feb 22 18:26:12 2017 -0800
@@ -4586,8 +4586,8 @@
     ('', 'webdir-conf', '', _('name of the hgweb config file (DEPRECATED)'),
      _('FILE')),
     ('', 'pid-file', '', _('name of file to write process ID to'), _('FILE')),
-    ('', 'stdio', None, _('for remote clients')),
-    ('', 'cmdserver', '', _('for remote clients'), _('MODE')),
+    ('', 'stdio', None, _('for remote clients (ADVANCED)')),
+    ('', 'cmdserver', '', _('for remote clients (ADVANCED)'), _('MODE')),
     ('t', 'templates', '', _('web templates to use'), _('TEMPLATE')),
     ('', 'style', '', _('template style to use'), _('STYLE')),
     ('6', 'ipv6', None, _('use IPv6 in addition to IPv4')),