Mercurial > public > mercurial-scm > hg-stable
diff tests/test-completion.t @ 38211:aea29e81753a
serve: add option print-url
It can be used to open hgweb in a web browser. Example :
xdg-open "`hg serve --print-url`".
Differential Revision: https://phab.mercurial-scm.org/D3649
author | Nicola Spanti <nicola.spanti@logilab.fr> |
---|---|
date | Thu, 24 May 2018 09:56:28 +0000 |
parents | c76526d7d6e9 |
children | 2ec44160165d |
line wrap: on
line diff
--- a/tests/test-completion.t Sat May 26 11:33:02 2018 +0900 +++ b/tests/test-completion.t Thu May 24 09:56:28 2018 +0000 @@ -191,6 +191,7 @@ --pid-file --port --prefix + --print-url --profile --quiet --repository @@ -239,7 +240,7 @@ pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure push: force, rev, bookmark, branch, new-branch, pushvars, ssh, remotecmd, insecure remove: after, force, subrepos, include, exclude, dry-run - serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, subrepos + serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, print-url, subrepos status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, terse, copies, print0, rev, change, include, exclude, subrepos, template summary: remote update: clean, check, merge, date, rev, tool