[Bug 5312] New: hg status -h doesn't list -q

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jul 25 09:01:12 EDT 2016


            Bug ID: 5312
           Summary: hg status -h doesn't list -q
           Product: Mercurial
           Version: 3.8.4
          Hardware: Macintosh
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: mgates17 at gmail.com
                CC: mercurial-devel at selenic.com

hg status -h doesn't list -q in the "options" section, though it is listed in
the description. I suggest adding a line such as:

 -q --quiet               exclude untracked files

Output on my machine (MacOS, hg 3.8.4):

prompt> hg st -h
hg status [OPTION]... [FILE]...

aliases: st

show changed files in the working directory

    Show status of files in the repository. If names are given, only files
    that match are shown. Files that are clean or ignored or the source of a
    copy/move operation, are not listed unless -c/--clean, -i/--ignored,
    -C/--copies or -A/--all are given. Unless options described with "show
    only ..." are given, the options -mardu are used.

    Option -q/--quiet hides untracked (unknown and ignored) files unless
    explicitly requested with -u/--unknown or -i/--ignored.

       'hg status' may appear to disagree with diff if permissions have
       changed or a merge has occurred. The standard diff format does not
       report permission changes and diff only reports changes relative to one
       merge parent.

    If one revision is given, it is used as the base revision. If two
    revisions are given, the differences between them are shown. The --change
    option can also be used as a shortcut to list the changed files of a
    revision from its first parent.

    The codes used to show the status of files are:

      M = modified
      A = added
      R = removed
      C = clean
      ! = missing (deleted by non-hg command, but still tracked)
      ? = not tracked
      I = ignored
        = origin of the previous file (with --copies)

    Returns 0 on success.

options ([+] can be repeated):

 -A --all                 show status of all files
 -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
 -c --clean               show only files without changes
 -u --unknown             show only unknown (not tracked) files
 -i --ignored             show only ignored files
 -n --no-status           hide status prefix
 -C --copies              show source of copied files
 -0 --print0              end filenames with NUL, for use with xargs
    --rev REV [+]         show difference from revision
    --change REV          list the changed files of a revision
 -I --include PATTERN [+] include names matching the given patterns
 -X --exclude PATTERN [+] exclude names matching the given patterns
 -S --subrepos            recurse into subrepositories

(some details hidden, use --verbose to show complete help)

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list