# HG changeset patch # User Anton Shestakov # Date 1572605563 -25200 # Node ID fcefc052a3b10aa4e41e4109c3848c18c88a8ebd # Parent cac7e750422f0512727a21a400e9914ba2d5c82d topic: add more options to command synopsis string diff -r cac7e750422f -r fcefc052a3b1 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Fri Oct 11 16:53:52 2019 +0200 +++ b/hgext3rd/topic/__init__.py Fri Nov 01 17:52:43 2019 +0700 @@ -634,7 +634,7 @@ (b'', b'age', False, b'show when you last touched the topics'), (b'', b'current', None, b'display the current topic only'), ] + commands.formatteropts, - _(b'hg topics [TOPIC]')) + _(b'hg topics [OPTION]... [-r REV]... [TOPIC]')) def topics(ui, repo, topic=None, **opts): """View current topic, set current topic, change topic for a set of revisions, or see all topics. diff -r cac7e750422f -r fcefc052a3b1 tests/test-topic.t --- a/tests/test-topic.t Fri Oct 11 16:53:52 2019 +0200 +++ b/tests/test-topic.t Fri Nov 01 17:52:43 2019 +0700 @@ -128,7 +128,7 @@ (use 'hg help -v topic' to show built-in aliases and global options) $ hg help topics - hg topics [TOPIC] + hg topics [OPTION]... [-r REV]... [TOPIC] View current topic, set current topic, change topic for a set of revisions, or see all topics.