shelve: modify help text on --interactive
authorNavaneeth Suresh <navaneeths1998@gmail.com>
Thu, 18 Jul 2019 21:10:17 +0530
changeset 42623 9eace8d6d537
parent 42622 74ba82abbf29
child 42624 811e502d646d
shelve: modify help text on --interactive We now have `unshelve --interactive` after rHG5162753c4c14. So, the help text on `shelve --interactive` suggesting that it only works for `shelve` can be removed. Differential Revision: https://phab.mercurial-scm.org/D6654
mercurial/commands.py
tests/test-shelve.t
--- a/mercurial/commands.py	Thu Jul 18 20:54:26 2019 +0530
+++ b/mercurial/commands.py	Thu Jul 18 21:10:17 2019 +0530
@@ -5360,7 +5360,7 @@
            _('output patches for changes (provide the names of the shelved '
              'changes as positional arguments)')),
           ('i', 'interactive', None,
-           _('interactive mode, only works while creating a shelve')),
+           _('interactive mode')),
           ('', 'stat', None,
            _('output diffstat-style summary of changes (provide the names of '
              'the shelved changes as positional arguments)')
--- a/tests/test-shelve.t	Thu Jul 18 20:54:26 2019 +0530
+++ b/tests/test-shelve.t	Thu Jul 18 21:10:17 2019 +0530
@@ -79,7 +79,7 @@
    -n --name NAME           use the given name for the shelved commit
    -p --patch               output patches for changes (provide the names of the
                             shelved changes as positional arguments)
-   -i --interactive         interactive mode, only works while creating a shelve
+   -i --interactive         interactive mode
       --stat                output diffstat-style summary of changes (provide
                             the names of the shelved changes as positional
                             arguments)