[PATCH 2 of 2 RESEND] serve: mark --stdio and --cmdserver as "(ADVANCED)" flags

Augie Fackler raf at durin42.com
Thu Feb 23 11:21:22 EST 2017


On Wed, Feb 22, 2017 at 06:30:02PM -0800, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1487816772 28800
> #      Wed Feb 22 18:26:12 2017 -0800
> # Node ID 8bc0039a28785dce6e9aa05e7323986b92833068
> # Parent  a9d70a1a09e4e391f8ec22d10831999d7c3e5294
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r 8bc0039a2878
> serve: mark --stdio and --cmdserver as "(ADVANCED)" flags

Queued, a great idea. Thanks.

>
> This will hide them from the default --help output.
>
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -4587,6 +4587,6 @@ def root(ui, repo):
>       _('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')),
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list