# HG changeset patch # User TK Soh # Date 2005-08-28 01:55:14 # Node ID 6130de75bb2a66b583dceff2841e5f50c3de158f # Parent 87cbfaf79124839514e3128c68d4a04182327f7c Updated manpage and help. Updated manpage on change to hg status; standardized description of -print0 options. diff --git a/doc/hg.1.txt b/doc/hg.1.txt --- a/doc/hg.1.txt +++ b/doc/hg.1.txt @@ -435,7 +435,7 @@ status [options] [files]:: -a, --added show only added files -r, --removed show only removed files -u, --unknown show only unknown (not tracked) files - -p, --strip strip status prefix + -n, --no-status hide status prefix -0, --print0 end filenames with NUL, for use with xargs -I, --include include names matching the given patterns -X, --exclude exclude names matching the given patterns diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1537,7 +1537,7 @@ table = { "hg forget [OPTION]... FILE..."), "grep": (grep, - [('0', 'print0', None, 'terminate file names with NUL'), + [('0', 'print0', None, 'end filenames with NUL'), ('I', 'include', [], 'include path in search'), ('X', 'exclude', [], 'include path in search'), ('i', 'ignore-case', None, 'ignore case when matching'), @@ -1562,7 +1562,7 @@ table = { "locate": (locate, [('r', 'rev', '', 'revision'), - ('0', 'print0', None, 'end records with NUL'), + ('0', 'print0', None, 'end filenames with NUL'), ('f', 'fullpath', None, 'print complete paths'), ('I', 'include', [], 'include path in search'), ('X', 'exclude', [], 'exclude path from search')], @@ -1627,7 +1627,7 @@ table = { ('r', 'removed', None, 'show only removed files'), ('u', 'unknown', None, 'show only unknown (not tracked) files'), ('n', 'no-status', None, 'hide status prefix'), - ('0', 'print0', None, 'end records with NUL'), + ('0', 'print0', None, 'end filenames with NUL'), ('I', 'include', [], 'include path in search'), ('X', 'exclude', [], 'exclude path from search')], "hg status [OPTION]... [FILE]..."), diff --git a/tests/test-help.out b/tests/test-help.out --- a/tests/test-help.out +++ b/tests/test-help.out @@ -157,7 +157,7 @@ options: -r --removed show only removed files -u --unknown show only unknown (not tracked) files -n --no-status hide status prefix - -0 --print0 end records with NUL + -0 --print0 end filenames with NUL -I --include include path in search -X --exclude exclude path from search hg status [OPTION]... [FILE]...