changeset 45134:487df3676d2c

status: match category text in the option description The ! category in the main status help text is defined as "missing", so use the same text for the help text of --delete. Differential Revision: https://phab.mercurial-scm.org/D8759
author Joerg Sonnenberger <joerg@bec.de>
date Thu, 16 Jul 2020 15:56:13 +0200
parents 81859d38e009
children 225588c4c255
files mercurial/commands.py tests/test-alias.t tests/test-help.t
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jul 15 13:19:09 2020 -0700
+++ b/mercurial/commands.py	Thu Jul 16 15:56:13 2020 +0200
@@ -6663,7 +6663,7 @@
         (b'm', b'modified', None, _(b'show only modified files')),
         (b'a', b'added', None, _(b'show only added files')),
         (b'r', b'removed', None, _(b'show only removed files')),
-        (b'd', b'deleted', None, _(b'show only deleted (but tracked) files')),
+        (b'd', b'deleted', None, _(b'show only missing files')),
         (b'c', b'clean', None, _(b'show only files without changes')),
         (b'u', b'unknown', None, _(b'show only unknown (not tracked) files')),
         (b'i', b'ignored', None, _(b'show only ignored files')),
--- a/tests/test-alias.t	Wed Jul 15 13:19:09 2020 -0700
+++ b/tests/test-alias.t	Thu Jul 16 15:56:13 2020 +0200
@@ -182,7 +182,7 @@
    -m --modified            show only modified files
    -a --added               show only added files
    -r --removed             show only removed files
-   -d --deleted             show only deleted (but tracked) files
+   -d --deleted             show only missing files
    -c --clean               show only files without changes
    -u --unknown             show only unknown (not tracked) files
    -i --ignored             show only ignored files
--- a/tests/test-help.t	Wed Jul 15 13:19:09 2020 -0700
+++ b/tests/test-help.t	Thu Jul 16 15:56:13 2020 +0200
@@ -730,7 +730,7 @@
    -m --modified            show only modified files
    -a --added               show only added files
    -r --removed             show only removed files
-   -d --deleted             show only deleted (but tracked) files
+   -d --deleted             show only missing files
    -c --clean               show only files without changes
    -u --unknown             show only unknown (not tracked) files
    -i --ignored             show only ignored files