Mercurial > hg
comparison tests/test-help.out @ 4315:bc6f5a1d8b7b
Add a pointer to "hg -v help" to the bottom of hg help {,cmd} output
This should make it easier to discover global options.
As a bonus, they are no longer displayed by something like a
hg -v help dates
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 07 Apr 2007 04:27:55 -0300 |
parents | 30857b5779f8 |
children | 120626e06409 |
comparison
equal
deleted
inserted
replaced
4314:43dedce9667e | 4315:bc6f5a1d8b7b |
---|---|
1 Mercurial Distributed SCM | 1 Mercurial Distributed SCM |
2 | 2 |
3 basic commands (use "hg help" for the full list or option "-v" for details): | 3 basic commands: |
4 | 4 |
5 add add the specified files on the next commit | 5 add add the specified files on the next commit |
6 annotate show changeset information per file line | 6 annotate show changeset information per file line |
7 clone make a copy of an existing repository | 7 clone make a copy of an existing repository |
8 commit commit the specified files or all outstanding changes | 8 commit commit the specified files or all outstanding changes |
17 remove remove the specified files on the next commit | 17 remove remove the specified files on the next commit |
18 revert revert files or dirs to their states as of some revision | 18 revert revert files or dirs to their states as of some revision |
19 serve export the repository via HTTP | 19 serve export the repository via HTTP |
20 status show changed files in the working directory | 20 status show changed files in the working directory |
21 update update working directory | 21 update update working directory |
22 | |
23 use "hg help" for the full list of commands or "hg -v" for details | |
22 add add the specified files on the next commit | 24 add add the specified files on the next commit |
23 annotate show changeset information per file line | 25 annotate show changeset information per file line |
24 clone make a copy of an existing repository | 26 clone make a copy of an existing repository |
25 commit commit the specified files or all outstanding changes | 27 commit commit the specified files or all outstanding changes |
26 diff diff repository (or selected files) | 28 diff diff repository (or selected files) |
36 serve export the repository via HTTP | 38 serve export the repository via HTTP |
37 status show changed files in the working directory | 39 status show changed files in the working directory |
38 update update working directory | 40 update update working directory |
39 Mercurial Distributed SCM | 41 Mercurial Distributed SCM |
40 | 42 |
41 list of commands (use "hg help -v" to show aliases and global options): | 43 list of commands: |
42 | 44 |
43 add add the specified files on the next commit | 45 add add the specified files on the next commit |
44 addremove add all new files, delete all missing files | 46 addremove add all new files, delete all missing files |
45 annotate show changeset information per file line | 47 annotate show changeset information per file line |
46 archive create unversioned archive of a repository revision | 48 archive create unversioned archive of a repository revision |
84 tip show the tip revision | 86 tip show the tip revision |
85 unbundle apply a changegroup file | 87 unbundle apply a changegroup file |
86 update update working directory | 88 update update working directory |
87 verify verify the integrity of the repository | 89 verify verify the integrity of the repository |
88 version output version and copyright information | 90 version output version and copyright information |
91 | |
92 use "hg -v help" to show aliases and global options | |
89 add add the specified files on the next commit | 93 add add the specified files on the next commit |
90 addremove add all new files, delete all missing files | 94 addremove add all new files, delete all missing files |
91 annotate show changeset information per file line | 95 annotate show changeset information per file line |
92 archive create unversioned archive of a repository revision | 96 archive create unversioned archive of a repository revision |
93 backout reverse effect of earlier changeset | 97 backout reverse effect of earlier changeset |
146 options: | 150 options: |
147 | 151 |
148 -I --include include names matching the given patterns | 152 -I --include include names matching the given patterns |
149 -X --exclude exclude names matching the given patterns | 153 -X --exclude exclude names matching the given patterns |
150 -n --dry-run do not perform actions, just print output | 154 -n --dry-run do not perform actions, just print output |
155 | |
156 use "hg -v help add" to show global options | |
151 hg add: option --skjdfks not recognized | 157 hg add: option --skjdfks not recognized |
152 hg add [OPTION]... [FILE]... | 158 hg add [OPTION]... [FILE]... |
153 | 159 |
154 add the specified files on the next commit | 160 add the specified files on the next commit |
155 | 161 |
163 options: | 169 options: |
164 | 170 |
165 -I --include include names matching the given patterns | 171 -I --include include names matching the given patterns |
166 -X --exclude exclude names matching the given patterns | 172 -X --exclude exclude names matching the given patterns |
167 -n --dry-run do not perform actions, just print output | 173 -n --dry-run do not perform actions, just print output |
174 | |
175 use "hg -v help add" to show global options | |
168 hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]... | 176 hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]... |
169 | 177 |
170 diff repository (or selected files) | 178 diff repository (or selected files) |
171 | 179 |
172 Show differences between revisions for the specified files. | 180 Show differences between revisions for the specified files. |
197 -w --ignore-all-space ignore white space when comparing lines | 205 -w --ignore-all-space ignore white space when comparing lines |
198 -b --ignore-space-change ignore changes in the amount of white space | 206 -b --ignore-space-change ignore changes in the amount of white space |
199 -B --ignore-blank-lines ignore changes whose lines are all blank | 207 -B --ignore-blank-lines ignore changes whose lines are all blank |
200 -I --include include names matching the given patterns | 208 -I --include include names matching the given patterns |
201 -X --exclude exclude names matching the given patterns | 209 -X --exclude exclude names matching the given patterns |
210 | |
211 use "hg -v help diff" to show global options | |
202 hg status [OPTION]... [FILE]... | 212 hg status [OPTION]... [FILE]... |
203 | 213 |
204 show changed files in the working directory | 214 show changed files in the working directory |
205 | 215 |
206 Show status of files in the repository. If names are given, only | 216 Show status of files in the repository. If names are given, only |
241 -C --copies show source of copied files | 251 -C --copies show source of copied files |
242 -0 --print0 end filenames with NUL, for use with xargs | 252 -0 --print0 end filenames with NUL, for use with xargs |
243 --rev show difference from revision | 253 --rev show difference from revision |
244 -I --include include names matching the given patterns | 254 -I --include include names matching the given patterns |
245 -X --exclude exclude names matching the given patterns | 255 -X --exclude exclude names matching the given patterns |
256 | |
257 use "hg -v help status" to show global options | |
246 hg status [OPTION]... [FILE]... | 258 hg status [OPTION]... [FILE]... |
247 | 259 |
248 show changed files in the working directory | 260 show changed files in the working directory |
249 hg: unknown command 'foo' | 261 hg: unknown command 'foo' |
250 Mercurial Distributed SCM | 262 Mercurial Distributed SCM |
251 | 263 |
252 basic commands (use "hg help" for the full list or option "-v" for details): | 264 basic commands: |
253 | 265 |
254 add add the specified files on the next commit | 266 add add the specified files on the next commit |
255 annotate show changeset information per file line | 267 annotate show changeset information per file line |
256 clone make a copy of an existing repository | 268 clone make a copy of an existing repository |
257 commit commit the specified files or all outstanding changes | 269 commit commit the specified files or all outstanding changes |
266 remove remove the specified files on the next commit | 278 remove remove the specified files on the next commit |
267 revert revert files or dirs to their states as of some revision | 279 revert revert files or dirs to their states as of some revision |
268 serve export the repository via HTTP | 280 serve export the repository via HTTP |
269 status show changed files in the working directory | 281 status show changed files in the working directory |
270 update update working directory | 282 update update working directory |
283 | |
284 use "hg help" for the full list of commands or "hg -v" for details | |
271 hg: unknown command 'skjdfks' | 285 hg: unknown command 'skjdfks' |
272 Mercurial Distributed SCM | 286 Mercurial Distributed SCM |
273 | 287 |
274 basic commands (use "hg help" for the full list or option "-v" for details): | 288 basic commands: |
275 | 289 |
276 add add the specified files on the next commit | 290 add add the specified files on the next commit |
277 annotate show changeset information per file line | 291 annotate show changeset information per file line |
278 clone make a copy of an existing repository | 292 clone make a copy of an existing repository |
279 commit commit the specified files or all outstanding changes | 293 commit commit the specified files or all outstanding changes |
288 remove remove the specified files on the next commit | 302 remove remove the specified files on the next commit |
289 revert revert files or dirs to their states as of some revision | 303 revert revert files or dirs to their states as of some revision |
290 serve export the repository via HTTP | 304 serve export the repository via HTTP |
291 status show changed files in the working directory | 305 status show changed files in the working directory |
292 update update working directory | 306 update update working directory |
307 | |
308 use "hg help" for the full list of commands or "hg -v" for details |