Show More
@@ -9,6 +9,10 b' echo %% test short command list with ver' | |||
|
9 | 9 | hg -v help shortlist | sed 's/[(]version [^)]*[)]/(version xxx)/' |
|
10 | 10 | |
|
11 | 11 | hg add -h |
|
12 | ||
|
13 | echo %% test help option with version option | |
|
14 | hg add -h --version | sed 's/[(]version [^)]*[)]/(version xxx)/' | |
|
15 | ||
|
12 | 16 | hg add --skjdfks |
|
13 | 17 | hg help diff |
|
14 | 18 | hg help status |
@@ -250,6 +250,31 b' options:' | |||
|
250 | 250 | -n --dry-run do not perform actions, just print output |
|
251 | 251 | |
|
252 | 252 | use "hg -v help add" to show global options |
|
253 | %% test help option with version option | |
|
254 | Mercurial Distributed SCM (version xxx) | |
|
255 | ||
|
256 | Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others | |
|
257 | This is free software; see the source for copying conditions. There is NO | |
|
258 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
|
259 | ||
|
260 | hg add [OPTION]... [FILE]... | |
|
261 | ||
|
262 | add the specified files on the next commit | |
|
263 | ||
|
264 | Schedule files to be version controlled and added to the repository. | |
|
265 | ||
|
266 | The files will be added to the repository at the next commit. To undo an | |
|
267 | add before that, see hg forget. | |
|
268 | ||
|
269 | If no names are given, add all files to the repository. | |
|
270 | ||
|
271 | options: | |
|
272 | ||
|
273 | -I --include include names matching the given patterns | |
|
274 | -X --exclude exclude names matching the given patterns | |
|
275 | -n --dry-run do not perform actions, just print output | |
|
276 | ||
|
277 | use "hg -v help add" to show global options | |
|
253 | 278 | hg add: option --skjdfks not recognized |
|
254 | 279 | hg add [OPTION]... [FILE]... |
|
255 | 280 |
General Comments 0
You need to be logged in to leave comments.
Login now