topics: spell out topics completely in help
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 25 Sep 2017 03:29:45 +0530
changeset 2994 1e8ac0fcd6b7
parent 2993 725b660d9886
child 2995 dbc896a7a1c3
topics: spell out topics completely in help
hgext3rd/topic/__init__.py
tests/test-topic.t
--- a/hgext3rd/topic/__init__.py	Mon Sep 25 03:23:06 2017 +0530
+++ b/hgext3rd/topic/__init__.py	Mon Sep 25 03:29:45 2017 +0530
@@ -387,19 +387,19 @@
 
     Clear topic on existing topiced revisions::
 
-      hg topic --rev <related revset> --clear
+      hg topics --rev <related revset> --clear
 
     Change topic on some revisions::
 
-      hg topic <newtopicname> --rev <related revset>
+      hg topics <newtopicname> --rev <related revset>
 
     Clear current topic::
 
-      hg topic --clear
+      hg topics --clear
 
     Set current topic::
 
-      hg topic <topicname>
+      hg topics <topicname>
 
     List of topics::
 
@@ -408,14 +408,14 @@
     List of topics sorted according to their last touched time displaying last
     touched time and the user who last touched the topic::
 
-      hg topic --age
+      hg topics --age
 
     The active topic (if any) will be prepended with a "*".
 
     The `--current` flag helps to take active topic into account. For
     example, if you want to set the topic on all the draft changesets to the
     active topic, you can do:
-        `hg topic -r "draft()" --current`
+        `hg topics -r "draft()" --current`
 
     The --verbose version of this command display various information on the state of each topic."""
 
--- a/tests/test-topic.t	Mon Sep 25 03:23:06 2017 +0530
+++ b/tests/test-topic.t	Mon Sep 25 03:29:45 2017 +0530
@@ -20,19 +20,19 @@
   
       Clear topic on existing topiced revisions:
   
-        hg topic --rev <related revset> --clear
+        hg topics --rev <related revset> --clear
   
       Change topic on some revisions:
   
-        hg topic <newtopicname> --rev <related revset>
+        hg topics <newtopicname> --rev <related revset>
   
       Clear current topic:
   
-        hg topic --clear
+        hg topics --clear
   
       Set current topic:
   
-        hg topic <topicname>
+        hg topics <topicname>
   
       List of topics:
   
@@ -41,13 +41,13 @@
       List of topics sorted according to their last touched time displaying last
       touched time and the user who last touched the topic:
   
-        hg topic --age
+        hg topics --age
   
       The active topic (if any) will be prepended with a "*".
   
       The '--current' flag helps to take active topic into account. For example,
       if you want to set the topic on all the draft changesets to the active
-      topic, you can do: 'hg topic -r "draft()" --current'
+      topic, you can do: 'hg topics -r "draft()" --current'
   
       The --verbose version of this command display various information on the
       state of each topic.