##// END OF EJS Templates
help: mark boolean flags with [no-] to explain that they can be negated...
Augie Fackler -
r30024:f3c4edfd default
parent child Browse files
Show More
@@ -20,6 +20,7 b' from . import ('
20 encoding,
20 encoding,
21 error,
21 error,
22 extensions,
22 extensions,
23 fancyopts,
23 filemerge,
24 filemerge,
24 fileset,
25 fileset,
25 minirst,
26 minirst,
@@ -65,6 +66,7 b' def extshelp(ui):'
65 def optrst(header, options, verbose):
66 def optrst(header, options, verbose):
66 data = []
67 data = []
67 multioccur = False
68 multioccur = False
69 alllong = set(o[1] for o in options)
68 for option in options:
70 for option in options:
69 if len(option) == 5:
71 if len(option) == 5:
70 shortopt, longopt, default, desc, optlabel = option
72 shortopt, longopt, default, desc, optlabel = option
@@ -87,6 +89,16 b' def optrst(header, options, verbose):'
87 multioccur = True
89 multioccur = True
88 elif (default is not None) and not isinstance(default, bool):
90 elif (default is not None) and not isinstance(default, bool):
89 lo += " %s" % optlabel
91 lo += " %s" % optlabel
92 elif longopt not in fancyopts.nevernegate:
93 if longopt.startswith('no-'):
94 # This odd if statement guards against showing
95 # --no-commit and --commit on backout (as a practical
96 # example) as --[no-]commit in help.
97 if (longopt[3:]) not in alllong:
98 lo = '--[no-]' + lo[5:]
99 else:
100 if ('no-' + longopt) not in alllong:
101 lo = '--[no-]' + lo[2:]
90
102
91 data.append((so, lo, desc))
103 data.append((so, lo, desc))
92
104
@@ -327,13 +327,13 b''
327 -r --rev REV [+] import up to source revision REV
327 -r --rev REV [+] import up to source revision REV
328 -A --authormap FILE remap usernames using this file
328 -A --authormap FILE remap usernames using this file
329 --filemap FILE remap file names using contents of file
329 --filemap FILE remap file names using contents of file
330 --full apply filemap changes by converting all files again
330 --[no-]full apply filemap changes by converting all files again
331 --splicemap FILE splice synthesized history into place
331 --splicemap FILE splice synthesized history into place
332 --branchmap FILE change branch names while converting
332 --branchmap FILE change branch names while converting
333 --branchsort try to sort changesets by branches
333 --[no-]branchsort try to sort changesets by branches
334 --datesort try to sort changesets by date
334 --[no-]datesort try to sort changesets by date
335 --sourcesort preserve source changesets order
335 --[no-]sourcesort preserve source changesets order
336 --closesort try to reorder closed revisions
336 --[no-]closesort try to reorder closed revisions
337
337
338 (some details hidden, use --verbose to show complete help)
338 (some details hidden, use --verbose to show complete help)
339 $ hg init a
339 $ hg init a
@@ -23,7 +23,7 b' Missing arg:'
23
23
24 -o --output FORMAT print output to file with formatted name
24 -o --output FORMAT print output to file with formatted name
25 -r --rev REV print the given revision
25 -r --rev REV print the given revision
26 --decode apply any matching decode filter
26 --[no-]decode apply any matching decode filter
27 -I --include PATTERN [+] include names matching the given patterns
27 -I --include PATTERN [+] include names matching the given patterns
28 -X --exclude PATTERN [+] exclude names matching the given patterns
28 -X --exclude PATTERN [+] exclude names matching the given patterns
29
29
@@ -48,10 +48,10 b' Should diff cloned directories:'
48 -o --option OPT [+] pass option to comparison program
48 -o --option OPT [+] pass option to comparison program
49 -r --rev REV [+] revision
49 -r --rev REV [+] revision
50 -c --change REV change made by revision
50 -c --change REV change made by revision
51 --patch compare patches for two revisions
51 --[no-]patch compare patches for two revisions
52 -I --include PATTERN [+] include names matching the given patterns
52 -I --include PATTERN [+] include names matching the given patterns
53 -X --exclude PATTERN [+] exclude names matching the given patterns
53 -X --exclude PATTERN [+] exclude names matching the given patterns
54 -S --subrepos recurse into subrepositories
54 -S --[no-]subrepos recurse into subrepositories
55
55
56 (some details hidden, use --verbose to show complete help)
56 (some details hidden, use --verbose to show complete help)
57
57
@@ -530,19 +530,19 b' hide outer repo'
530 --cwd DIR change working directory
530 --cwd DIR change working directory
531 -y --noninteractive do not prompt, automatically pick the first choice for
531 -y --noninteractive do not prompt, automatically pick the first choice for
532 all prompts
532 all prompts
533 -q --quiet suppress output
533 -q --[no-]quiet suppress output
534 -v --verbose enable additional output
534 -v --[no-]verbose enable additional output
535 --config CONFIG [+] set/override config option (use 'section.name=value')
535 --config CONFIG [+] set/override config option (use 'section.name=value')
536 --debug enable debugging output
536 --[no-]debug enable debugging output
537 --debugger start debugger
537 --[no-]debugger start debugger
538 --encoding ENCODE set the charset encoding (default: ascii)
538 --encoding ENCODE set the charset encoding (default: ascii)
539 --encodingmode MODE set the charset encoding mode (default: strict)
539 --encodingmode MODE set the charset encoding mode (default: strict)
540 --traceback always print a traceback on exception
540 --[no-]traceback always print a traceback on exception
541 --time time how long the command takes
541 --[no-]time time how long the command takes
542 --profile print command execution profile
542 --[no-]profile print command execution profile
543 --version output version information and exit
543 --version output version information and exit
544 -h --help display help and exit
544 -h --help display help and exit
545 --hidden consider hidden changesets
545 --[no-]hidden consider hidden changesets
546
546
547
547
548
548
@@ -565,19 +565,19 b' hide outer repo'
565 --cwd DIR change working directory
565 --cwd DIR change working directory
566 -y --noninteractive do not prompt, automatically pick the first choice for
566 -y --noninteractive do not prompt, automatically pick the first choice for
567 all prompts
567 all prompts
568 -q --quiet suppress output
568 -q --[no-]quiet suppress output
569 -v --verbose enable additional output
569 -v --[no-]verbose enable additional output
570 --config CONFIG [+] set/override config option (use 'section.name=value')
570 --config CONFIG [+] set/override config option (use 'section.name=value')
571 --debug enable debugging output
571 --[no-]debug enable debugging output
572 --debugger start debugger
572 --[no-]debugger start debugger
573 --encoding ENCODE set the charset encoding (default: ascii)
573 --encoding ENCODE set the charset encoding (default: ascii)
574 --encodingmode MODE set the charset encoding mode (default: strict)
574 --encodingmode MODE set the charset encoding mode (default: strict)
575 --traceback always print a traceback on exception
575 --[no-]traceback always print a traceback on exception
576 --time time how long the command takes
576 --[no-]time time how long the command takes
577 --profile print command execution profile
577 --[no-]profile print command execution profile
578 --version output version information and exit
578 --version output version information and exit
579 -h --help display help and exit
579 -h --help display help and exit
580 --hidden consider hidden changesets
580 --[no-]hidden consider hidden changesets
581
581
582
582
583
583
@@ -624,10 +624,10 b' Extension module help vs command help:'
624 -o --option OPT [+] pass option to comparison program
624 -o --option OPT [+] pass option to comparison program
625 -r --rev REV [+] revision
625 -r --rev REV [+] revision
626 -c --change REV change made by revision
626 -c --change REV change made by revision
627 --patch compare patches for two revisions
627 --[no-]patch compare patches for two revisions
628 -I --include PATTERN [+] include names matching the given patterns
628 -I --include PATTERN [+] include names matching the given patterns
629 -X --exclude PATTERN [+] exclude names matching the given patterns
629 -X --exclude PATTERN [+] exclude names matching the given patterns
630 -S --subrepos recurse into subrepositories
630 -S --[no-]subrepos recurse into subrepositories
631
631
632 (some details hidden, use --verbose to show complete help)
632 (some details hidden, use --verbose to show complete help)
633
633
@@ -851,19 +851,19 b' extension help itself'
851 --cwd DIR change working directory
851 --cwd DIR change working directory
852 -y --noninteractive do not prompt, automatically pick the first choice for
852 -y --noninteractive do not prompt, automatically pick the first choice for
853 all prompts
853 all prompts
854 -q --quiet suppress output
854 -q --[no-]quiet suppress output
855 -v --verbose enable additional output
855 -v --[no-]verbose enable additional output
856 --config CONFIG [+] set/override config option (use 'section.name=value')
856 --config CONFIG [+] set/override config option (use 'section.name=value')
857 --debug enable debugging output
857 --[no-]debug enable debugging output
858 --debugger start debugger
858 --[no-]debugger start debugger
859 --encoding ENCODE set the charset encoding (default: ascii)
859 --encoding ENCODE set the charset encoding (default: ascii)
860 --encodingmode MODE set the charset encoding mode (default: strict)
860 --encodingmode MODE set the charset encoding mode (default: strict)
861 --traceback always print a traceback on exception
861 --[no-]traceback always print a traceback on exception
862 --time time how long the command takes
862 --[no-]time time how long the command takes
863 --profile print command execution profile
863 --[no-]profile print command execution profile
864 --version output version information and exit
864 --version output version information and exit
865 -h --help display help and exit
865 -h --help display help and exit
866 --hidden consider hidden changesets
866 --[no-]hidden consider hidden changesets
867
867
868 Make sure that single '-v' option shows help and built-ins only for 'dodo' command
868 Make sure that single '-v' option shows help and built-ins only for 'dodo' command
869 $ hg help -v dodo
869 $ hg help -v dodo
@@ -875,7 +875,7 b" Make sure that single '-v' option shows "
875
875
876 options:
876 options:
877
877
878 --mq operate on patch repository
878 --[no-]mq operate on patch repository
879
879
880 global options ([+] can be repeated):
880 global options ([+] can be repeated):
881
881
@@ -884,19 +884,19 b" Make sure that single '-v' option shows "
884 --cwd DIR change working directory
884 --cwd DIR change working directory
885 -y --noninteractive do not prompt, automatically pick the first choice for
885 -y --noninteractive do not prompt, automatically pick the first choice for
886 all prompts
886 all prompts
887 -q --quiet suppress output
887 -q --[no-]quiet suppress output
888 -v --verbose enable additional output
888 -v --[no-]verbose enable additional output
889 --config CONFIG [+] set/override config option (use 'section.name=value')
889 --config CONFIG [+] set/override config option (use 'section.name=value')
890 --debug enable debugging output
890 --[no-]debug enable debugging output
891 --debugger start debugger
891 --[no-]debugger start debugger
892 --encoding ENCODE set the charset encoding (default: ascii)
892 --encoding ENCODE set the charset encoding (default: ascii)
893 --encodingmode MODE set the charset encoding mode (default: strict)
893 --encodingmode MODE set the charset encoding mode (default: strict)
894 --traceback always print a traceback on exception
894 --[no-]traceback always print a traceback on exception
895 --time time how long the command takes
895 --[no-]time time how long the command takes
896 --profile print command execution profile
896 --[no-]profile print command execution profile
897 --version output version information and exit
897 --version output version information and exit
898 -h --help display help and exit
898 -h --help display help and exit
899 --hidden consider hidden changesets
899 --[no-]hidden consider hidden changesets
900
900
901 In case when extension name doesn't match any of its commands,
901 In case when extension name doesn't match any of its commands,
902 help message should ask for '-v' to get list of built-in aliases
902 help message should ask for '-v' to get list of built-in aliases
@@ -955,19 +955,19 b" help options '-v' and '-v -e' should be "
955 --cwd DIR change working directory
955 --cwd DIR change working directory
956 -y --noninteractive do not prompt, automatically pick the first choice for
956 -y --noninteractive do not prompt, automatically pick the first choice for
957 all prompts
957 all prompts
958 -q --quiet suppress output
958 -q --[no-]quiet suppress output
959 -v --verbose enable additional output
959 -v --[no-]verbose enable additional output
960 --config CONFIG [+] set/override config option (use 'section.name=value')
960 --config CONFIG [+] set/override config option (use 'section.name=value')
961 --debug enable debugging output
961 --[no-]debug enable debugging output
962 --debugger start debugger
962 --[no-]debugger start debugger
963 --encoding ENCODE set the charset encoding (default: ascii)
963 --encoding ENCODE set the charset encoding (default: ascii)
964 --encodingmode MODE set the charset encoding mode (default: strict)
964 --encodingmode MODE set the charset encoding mode (default: strict)
965 --traceback always print a traceback on exception
965 --[no-]traceback always print a traceback on exception
966 --time time how long the command takes
966 --[no-]time time how long the command takes
967 --profile print command execution profile
967 --[no-]profile print command execution profile
968 --version output version information and exit
968 --version output version information and exit
969 -h --help display help and exit
969 -h --help display help and exit
970 --hidden consider hidden changesets
970 --[no-]hidden consider hidden changesets
971
971
972 $ hg help -v -e dudu
972 $ hg help -v -e dudu
973 dudu extension -
973 dudu extension -
@@ -987,19 +987,19 b" help options '-v' and '-v -e' should be "
987 --cwd DIR change working directory
987 --cwd DIR change working directory
988 -y --noninteractive do not prompt, automatically pick the first choice for
988 -y --noninteractive do not prompt, automatically pick the first choice for
989 all prompts
989 all prompts
990 -q --quiet suppress output
990 -q --[no-]quiet suppress output
991 -v --verbose enable additional output
991 -v --[no-]verbose enable additional output
992 --config CONFIG [+] set/override config option (use 'section.name=value')
992 --config CONFIG [+] set/override config option (use 'section.name=value')
993 --debug enable debugging output
993 --[no-]debug enable debugging output
994 --debugger start debugger
994 --[no-]debugger start debugger
995 --encoding ENCODE set the charset encoding (default: ascii)
995 --encoding ENCODE set the charset encoding (default: ascii)
996 --encodingmode MODE set the charset encoding mode (default: strict)
996 --encodingmode MODE set the charset encoding mode (default: strict)
997 --traceback always print a traceback on exception
997 --[no-]traceback always print a traceback on exception
998 --time time how long the command takes
998 --[no-]time time how long the command takes
999 --profile print command execution profile
999 --[no-]profile print command execution profile
1000 --version output version information and exit
1000 --version output version information and exit
1001 -h --help display help and exit
1001 -h --help display help and exit
1002 --hidden consider hidden changesets
1002 --[no-]hidden consider hidden changesets
1003
1003
1004 Disabled extension commands:
1004 Disabled extension commands:
1005
1005
@@ -318,19 +318,19 b' Test short command list with verbose opt'
318 --cwd DIR change working directory
318 --cwd DIR change working directory
319 -y --noninteractive do not prompt, automatically pick the first choice for
319 -y --noninteractive do not prompt, automatically pick the first choice for
320 all prompts
320 all prompts
321 -q --quiet suppress output
321 -q --[no-]quiet suppress output
322 -v --verbose enable additional output
322 -v --[no-]verbose enable additional output
323 --config CONFIG [+] set/override config option (use 'section.name=value')
323 --config CONFIG [+] set/override config option (use 'section.name=value')
324 --debug enable debugging output
324 --[no-]debug enable debugging output
325 --debugger start debugger
325 --[no-]debugger start debugger
326 --encoding ENCODE set the charset encoding (default: ascii)
326 --encoding ENCODE set the charset encoding (default: ascii)
327 --encodingmode MODE set the charset encoding mode (default: strict)
327 --encodingmode MODE set the charset encoding mode (default: strict)
328 --traceback always print a traceback on exception
328 --[no-]traceback always print a traceback on exception
329 --time time how long the command takes
329 --[no-]time time how long the command takes
330 --profile print command execution profile
330 --[no-]profile print command execution profile
331 --version output version information and exit
331 --version output version information and exit
332 -h --help display help and exit
332 -h --help display help and exit
333 --hidden consider hidden changesets
333 --[no-]hidden consider hidden changesets
334
334
335 (use 'hg help' for the full list of commands)
335 (use 'hg help' for the full list of commands)
336
336
@@ -353,8 +353,8 b' Test short command list with verbose opt'
353
353
354 -I --include PATTERN [+] include names matching the given patterns
354 -I --include PATTERN [+] include names matching the given patterns
355 -X --exclude PATTERN [+] exclude names matching the given patterns
355 -X --exclude PATTERN [+] exclude names matching the given patterns
356 -S --subrepos recurse into subrepositories
356 -S --[no-]subrepos recurse into subrepositories
357 -n --dry-run do not perform actions, just print output
357 -n --[no-]dry-run do not perform actions, just print output
358
358
359 (some details hidden, use --verbose to show complete help)
359 (some details hidden, use --verbose to show complete help)
360
360
@@ -404,8 +404,8 b' Verbose help for add'
404
404
405 -I --include PATTERN [+] include names matching the given patterns
405 -I --include PATTERN [+] include names matching the given patterns
406 -X --exclude PATTERN [+] exclude names matching the given patterns
406 -X --exclude PATTERN [+] exclude names matching the given patterns
407 -S --subrepos recurse into subrepositories
407 -S --[no-]subrepos recurse into subrepositories
408 -n --dry-run do not perform actions, just print output
408 -n --[no-]dry-run do not perform actions, just print output
409
409
410 global options ([+] can be repeated):
410 global options ([+] can be repeated):
411
411
@@ -414,19 +414,19 b' Verbose help for add'
414 --cwd DIR change working directory
414 --cwd DIR change working directory
415 -y --noninteractive do not prompt, automatically pick the first choice for
415 -y --noninteractive do not prompt, automatically pick the first choice for
416 all prompts
416 all prompts
417 -q --quiet suppress output
417 -q --[no-]quiet suppress output
418 -v --verbose enable additional output
418 -v --[no-]verbose enable additional output
419 --config CONFIG [+] set/override config option (use 'section.name=value')
419 --config CONFIG [+] set/override config option (use 'section.name=value')
420 --debug enable debugging output
420 --[no-]debug enable debugging output
421 --debugger start debugger
421 --[no-]debugger start debugger
422 --encoding ENCODE set the charset encoding (default: ascii)
422 --encoding ENCODE set the charset encoding (default: ascii)
423 --encodingmode MODE set the charset encoding mode (default: strict)
423 --encodingmode MODE set the charset encoding mode (default: strict)
424 --traceback always print a traceback on exception
424 --[no-]traceback always print a traceback on exception
425 --time time how long the command takes
425 --[no-]time time how long the command takes
426 --profile print command execution profile
426 --[no-]profile print command execution profile
427 --version output version information and exit
427 --version output version information and exit
428 -h --help display help and exit
428 -h --help display help and exit
429 --hidden consider hidden changesets
429 --[no-]hidden consider hidden changesets
430
430
431 Test the textwidth config option
431 Test the textwidth config option
432
432
@@ -464,8 +464,8 b' Test help option with version option'
464
464
465 -I --include PATTERN [+] include names matching the given patterns
465 -I --include PATTERN [+] include names matching the given patterns
466 -X --exclude PATTERN [+] exclude names matching the given patterns
466 -X --exclude PATTERN [+] exclude names matching the given patterns
467 -S --subrepos recurse into subrepositories
467 -S --[no-]subrepos recurse into subrepositories
468 -n --dry-run do not perform actions, just print output
468 -n --[no-]dry-run do not perform actions, just print output
469
469
470 (use 'hg add -h' to show more help)
470 (use 'hg add -h' to show more help)
471 [255]
471 [255]
@@ -534,23 +534,23 b' Test command without options'
534
534
535 options ([+] can be repeated):
535 options ([+] can be repeated):
536
536
537 -r --rev REV [+] revision
537 -r --rev REV [+] revision
538 -c --change REV change made by revision
538 -c --change REV change made by revision
539 -a --text treat all files as text
539 -a --[no-]text treat all files as text
540 -g --git use git extended diff format
540 -g --[no-]git use git extended diff format
541 --nodates omit dates from diff headers
541 --[no-]nodates omit dates from diff headers
542 --noprefix omit a/ and b/ prefixes from filenames
542 --[no-]noprefix omit a/ and b/ prefixes from filenames
543 -p --show-function show which function each change is in
543 -p --[no-]show-function show which function each change is in
544 --reverse produce a diff that undoes the changes
544 --[no-]reverse produce a diff that undoes the changes
545 -w --ignore-all-space ignore white space when comparing lines
545 -w --[no-]ignore-all-space ignore white space when comparing lines
546 -b --ignore-space-change ignore changes in the amount of white space
546 -b --[no-]ignore-space-change ignore changes in the amount of white space
547 -B --ignore-blank-lines ignore changes whose lines are all blank
547 -B --[no-]ignore-blank-lines ignore changes whose lines are all blank
548 -U --unified NUM number of lines of context to show
548 -U --unified NUM number of lines of context to show
549 --stat output diffstat-style summary of changes
549 --[no-]stat output diffstat-style summary of changes
550 --root DIR produce diffs relative to subdirectory
550 --root DIR produce diffs relative to subdirectory
551 -I --include PATTERN [+] include names matching the given patterns
551 -I --include PATTERN [+] include names matching the given patterns
552 -X --exclude PATTERN [+] exclude names matching the given patterns
552 -X --exclude PATTERN [+] exclude names matching the given patterns
553 -S --subrepos recurse into subrepositories
553 -S --[no-]subrepos recurse into subrepositories
554
554
555 (some details hidden, use --verbose to show complete help)
555 (some details hidden, use --verbose to show complete help)
556
556
@@ -596,22 +596,22 b' Test command without options'
596
596
597 options ([+] can be repeated):
597 options ([+] can be repeated):
598
598
599 -A --all show status of all files
599 -A --[no-]all show status of all files
600 -m --modified show only modified files
600 -m --[no-]modified show only modified files
601 -a --added show only added files
601 -a --[no-]added show only added files
602 -r --removed show only removed files
602 -r --[no-]removed show only removed files
603 -d --deleted show only deleted (but tracked) files
603 -d --[no-]deleted show only deleted (but tracked) files
604 -c --clean show only files without changes
604 -c --[no-]clean show only files without changes
605 -u --unknown show only unknown (not tracked) files
605 -u --[no-]unknown show only unknown (not tracked) files
606 -i --ignored show only ignored files
606 -i --[no-]ignored show only ignored files
607 -n --no-status hide status prefix
607 -n --[no-]status hide status prefix
608 -C --copies show source of copied files
608 -C --[no-]copies show source of copied files
609 -0 --print0 end filenames with NUL, for use with xargs
609 -0 --[no-]print0 end filenames with NUL, for use with xargs
610 --rev REV [+] show difference from revision
610 --rev REV [+] show difference from revision
611 --change REV list the changed files of a revision
611 --change REV list the changed files of a revision
612 -I --include PATTERN [+] include names matching the given patterns
612 -I --include PATTERN [+] include names matching the given patterns
613 -X --exclude PATTERN [+] exclude names matching the given patterns
613 -X --exclude PATTERN [+] exclude names matching the given patterns
614 -S --subrepos recurse into subrepositories
614 -S --[no-]subrepos recurse into subrepositories
615
615
616 (some details hidden, use --verbose to show complete help)
616 (some details hidden, use --verbose to show complete help)
617
617
@@ -717,7 +717,7 b' Test for aliases'
717
717
718 options:
718 options:
719
719
720 --remote check for push and pull
720 --[no-]remote check for push and pull
721
721
722 (some details hidden, use --verbose to show complete help)
722 (some details hidden, use --verbose to show complete help)
723
723
@@ -743,7 +743,7 b' Test command with no help text'
743
743
744 --longdesc VALUE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
744 --longdesc VALUE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
745 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (default: 3)
745 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (default: 3)
746 -n -- normal desc
746 -n --[no-] normal desc
747 --newline VALUE line1 line2
747 --newline VALUE line1 line2
748
748
749 (some details hidden, use --verbose to show complete help)
749 (some details hidden, use --verbose to show complete help)
@@ -1128,9 +1128,9 b' test deprecated and experimental options'
1128
1128
1129 test deprecated and experimental options is shown with -v
1129 test deprecated and experimental options is shown with -v
1130 $ hg help -v debugoptDEP | grep dopt
1130 $ hg help -v debugoptDEP | grep dopt
1131 --dopt option is (DEPRECATED)
1131 --[no-]dopt option is (DEPRECATED)
1132 $ hg help -v debugoptEXP | grep eopt
1132 $ hg help -v debugoptEXP | grep eopt
1133 --eopt option is (EXPERIMENTAL)
1133 --[no-]eopt option is (EXPERIMENTAL)
1134
1134
1135 #if gettext
1135 #if gettext
1136 test deprecated option is hidden with translation with untranslated description
1136 test deprecated option is hidden with translation with untranslated description
@@ -2474,10 +2474,10 b' Dish up an empty repo; serve it cold.'
2474 <td>--exclude PATTERN [+]</td>
2474 <td>--exclude PATTERN [+]</td>
2475 <td>exclude names matching the given patterns</td></tr>
2475 <td>exclude names matching the given patterns</td></tr>
2476 <tr><td>-S</td>
2476 <tr><td>-S</td>
2477 <td>--subrepos</td>
2477 <td>--[no-]subrepos</td>
2478 <td>recurse into subrepositories</td></tr>
2478 <td>recurse into subrepositories</td></tr>
2479 <tr><td>-n</td>
2479 <tr><td>-n</td>
2480 <td>--dry-run</td>
2480 <td>--[no-]dry-run</td>
2481 <td>do not perform actions, just print output</td></tr>
2481 <td>do not perform actions, just print output</td></tr>
2482 </table>
2482 </table>
2483 <p>
2483 <p>
@@ -2494,19 +2494,19 b' Dish up an empty repo; serve it cold.'
2494 <td>--noninteractive</td>
2494 <td>--noninteractive</td>
2495 <td>do not prompt, automatically pick the first choice for all prompts</td></tr>
2495 <td>do not prompt, automatically pick the first choice for all prompts</td></tr>
2496 <tr><td>-q</td>
2496 <tr><td>-q</td>
2497 <td>--quiet</td>
2497 <td>--[no-]quiet</td>
2498 <td>suppress output</td></tr>
2498 <td>suppress output</td></tr>
2499 <tr><td>-v</td>
2499 <tr><td>-v</td>
2500 <td>--verbose</td>
2500 <td>--[no-]verbose</td>
2501 <td>enable additional output</td></tr>
2501 <td>enable additional output</td></tr>
2502 <tr><td></td>
2502 <tr><td></td>
2503 <td>--config CONFIG [+]</td>
2503 <td>--config CONFIG [+]</td>
2504 <td>set/override config option (use 'section.name=value')</td></tr>
2504 <td>set/override config option (use 'section.name=value')</td></tr>
2505 <tr><td></td>
2505 <tr><td></td>
2506 <td>--debug</td>
2506 <td>--[no-]debug</td>
2507 <td>enable debugging output</td></tr>
2507 <td>enable debugging output</td></tr>
2508 <tr><td></td>
2508 <tr><td></td>
2509 <td>--debugger</td>
2509 <td>--[no-]debugger</td>
2510 <td>start debugger</td></tr>
2510 <td>start debugger</td></tr>
2511 <tr><td></td>
2511 <tr><td></td>
2512 <td>--encoding ENCODE</td>
2512 <td>--encoding ENCODE</td>
@@ -2515,13 +2515,13 b' Dish up an empty repo; serve it cold.'
2515 <td>--encodingmode MODE</td>
2515 <td>--encodingmode MODE</td>
2516 <td>set the charset encoding mode (default: strict)</td></tr>
2516 <td>set the charset encoding mode (default: strict)</td></tr>
2517 <tr><td></td>
2517 <tr><td></td>
2518 <td>--traceback</td>
2518 <td>--[no-]traceback</td>
2519 <td>always print a traceback on exception</td></tr>
2519 <td>always print a traceback on exception</td></tr>
2520 <tr><td></td>
2520 <tr><td></td>
2521 <td>--time</td>
2521 <td>--[no-]time</td>
2522 <td>time how long the command takes</td></tr>
2522 <td>time how long the command takes</td></tr>
2523 <tr><td></td>
2523 <tr><td></td>
2524 <td>--profile</td>
2524 <td>--[no-]profile</td>
2525 <td>print command execution profile</td></tr>
2525 <td>print command execution profile</td></tr>
2526 <tr><td></td>
2526 <tr><td></td>
2527 <td>--version</td>
2527 <td>--version</td>
@@ -2530,7 +2530,7 b' Dish up an empty repo; serve it cold.'
2530 <td>--help</td>
2530 <td>--help</td>
2531 <td>display help and exit</td></tr>
2531 <td>display help and exit</td></tr>
2532 <tr><td></td>
2532 <tr><td></td>
2533 <td>--hidden</td>
2533 <td>--[no-]hidden</td>
2534 <td>consider hidden changesets</td></tr>
2534 <td>consider hidden changesets</td></tr>
2535 </table>
2535 </table>
2536
2536
@@ -2661,13 +2661,13 b' Dish up an empty repo; serve it cold.'
2661 </p>
2661 </p>
2662 <table>
2662 <table>
2663 <tr><td>-A</td>
2663 <tr><td>-A</td>
2664 <td>--after</td>
2664 <td>--[no-]after</td>
2665 <td>record delete for missing files</td></tr>
2665 <td>record delete for missing files</td></tr>
2666 <tr><td>-f</td>
2666 <tr><td>-f</td>
2667 <td>--force</td>
2667 <td>--[no-]force</td>
2668 <td>forget added files, delete modified files</td></tr>
2668 <td>forget added files, delete modified files</td></tr>
2669 <tr><td>-S</td>
2669 <tr><td>-S</td>
2670 <td>--subrepos</td>
2670 <td>--[no-]subrepos</td>
2671 <td>recurse into subrepositories</td></tr>
2671 <td>recurse into subrepositories</td></tr>
2672 <tr><td>-I</td>
2672 <tr><td>-I</td>
2673 <td>--include PATTERN [+]</td>
2673 <td>--include PATTERN [+]</td>
@@ -2690,19 +2690,19 b' Dish up an empty repo; serve it cold.'
2690 <td>--noninteractive</td>
2690 <td>--noninteractive</td>
2691 <td>do not prompt, automatically pick the first choice for all prompts</td></tr>
2691 <td>do not prompt, automatically pick the first choice for all prompts</td></tr>
2692 <tr><td>-q</td>
2692 <tr><td>-q</td>
2693 <td>--quiet</td>
2693 <td>--[no-]quiet</td>
2694 <td>suppress output</td></tr>
2694 <td>suppress output</td></tr>
2695 <tr><td>-v</td>
2695 <tr><td>-v</td>
2696 <td>--verbose</td>
2696 <td>--[no-]verbose</td>
2697 <td>enable additional output</td></tr>
2697 <td>enable additional output</td></tr>
2698 <tr><td></td>
2698 <tr><td></td>
2699 <td>--config CONFIG [+]</td>
2699 <td>--config CONFIG [+]</td>
2700 <td>set/override config option (use 'section.name=value')</td></tr>
2700 <td>set/override config option (use 'section.name=value')</td></tr>
2701 <tr><td></td>
2701 <tr><td></td>
2702 <td>--debug</td>
2702 <td>--[no-]debug</td>
2703 <td>enable debugging output</td></tr>
2703 <td>enable debugging output</td></tr>
2704 <tr><td></td>
2704 <tr><td></td>
2705 <td>--debugger</td>
2705 <td>--[no-]debugger</td>
2706 <td>start debugger</td></tr>
2706 <td>start debugger</td></tr>
2707 <tr><td></td>
2707 <tr><td></td>
2708 <td>--encoding ENCODE</td>
2708 <td>--encoding ENCODE</td>
@@ -2711,13 +2711,13 b' Dish up an empty repo; serve it cold.'
2711 <td>--encodingmode MODE</td>
2711 <td>--encodingmode MODE</td>
2712 <td>set the charset encoding mode (default: strict)</td></tr>
2712 <td>set the charset encoding mode (default: strict)</td></tr>
2713 <tr><td></td>
2713 <tr><td></td>
2714 <td>--traceback</td>
2714 <td>--[no-]traceback</td>
2715 <td>always print a traceback on exception</td></tr>
2715 <td>always print a traceback on exception</td></tr>
2716 <tr><td></td>
2716 <tr><td></td>
2717 <td>--time</td>
2717 <td>--[no-]time</td>
2718 <td>time how long the command takes</td></tr>
2718 <td>time how long the command takes</td></tr>
2719 <tr><td></td>
2719 <tr><td></td>
2720 <td>--profile</td>
2720 <td>--[no-]profile</td>
2721 <td>print command execution profile</td></tr>
2721 <td>print command execution profile</td></tr>
2722 <tr><td></td>
2722 <tr><td></td>
2723 <td>--version</td>
2723 <td>--version</td>
@@ -2726,7 +2726,7 b' Dish up an empty repo; serve it cold.'
2726 <td>--help</td>
2726 <td>--help</td>
2727 <td>display help and exit</td></tr>
2727 <td>display help and exit</td></tr>
2728 <tr><td></td>
2728 <tr><td></td>
2729 <td>--hidden</td>
2729 <td>--[no-]hidden</td>
2730 <td>consider hidden changesets</td></tr>
2730 <td>consider hidden changesets</td></tr>
2731 </table>
2731 </table>
2732
2732
@@ -31,13 +31,13 b' help qrefresh (no record)'
31
31
32 options ([+] can be repeated):
32 options ([+] can be repeated):
33
33
34 -e --edit invoke editor on commit messages
34 -e --[no-]edit invoke editor on commit messages
35 -g --git use git extended diff format
35 -g --[no-]git use git extended diff format
36 -s --short refresh only files already in the patch and
36 -s --[no-]short refresh only files already in the patch and
37 specified files
37 specified files
38 -U --currentuser add/update author field in patch with current user
38 -U --[no-]currentuser add/update author field in patch with current user
39 -u --user USER add/update author field in patch with given user
39 -u --user USER add/update author field in patch with given user
40 -D --currentdate add/update date field in patch with current date
40 -D --[no-]currentdate add/update date field in patch with current date
41 -d --date DATE add/update date field in patch with given date
41 -d --date DATE add/update date field in patch with given date
42 -I --include PATTERN [+] include names matching the given patterns
42 -I --include PATTERN [+] include names matching the given patterns
43 -X --exclude PATTERN [+] exclude names matching the given patterns
43 -X --exclude PATTERN [+] exclude names matching the given patterns
@@ -73,19 +73,19 b' help qrefresh (record)'
73
73
74 options ([+] can be repeated):
74 options ([+] can be repeated):
75
75
76 -e --edit invoke editor on commit messages
76 -e --[no-]edit invoke editor on commit messages
77 -g --git use git extended diff format
77 -g --[no-]git use git extended diff format
78 -s --short refresh only files already in the patch and
78 -s --[no-]short refresh only files already in the patch and
79 specified files
79 specified files
80 -U --currentuser add/update author field in patch with current user
80 -U --[no-]currentuser add/update author field in patch with current user
81 -u --user USER add/update author field in patch with given user
81 -u --user USER add/update author field in patch with given user
82 -D --currentdate add/update date field in patch with current date
82 -D --[no-]currentdate add/update date field in patch with current date
83 -d --date DATE add/update date field in patch with given date
83 -d --date DATE add/update date field in patch with given date
84 -I --include PATTERN [+] include names matching the given patterns
84 -I --include PATTERN [+] include names matching the given patterns
85 -X --exclude PATTERN [+] exclude names matching the given patterns
85 -X --exclude PATTERN [+] exclude names matching the given patterns
86 -m --message TEXT use text as commit message
86 -m --message TEXT use text as commit message
87 -l --logfile FILE read commit message from file
87 -l --logfile FILE read commit message from file
88 -i --interactive interactively select changes to refresh
88 -i --[no-]interactive interactively select changes to refresh
89
89
90 (some details hidden, use --verbose to show complete help)
90 (some details hidden, use --verbose to show complete help)
91
91
@@ -59,22 +59,22 b' help record (record)'
59
59
60 options ([+] can be repeated):
60 options ([+] can be repeated):
61
61
62 -A --addremove mark new/missing files as added/removed before
62 -A --[no-]addremove mark new/missing files as added/removed before
63 committing
63 committing
64 --close-branch mark a branch head as closed
64 --[no-]close-branch mark a branch head as closed
65 --amend amend the parent of the working directory
65 --[no-]amend amend the parent of the working directory
66 -s --secret use the secret phase for committing
66 -s --[no-]secret use the secret phase for committing
67 -e --edit invoke editor on commit messages
67 -e --[no-]edit invoke editor on commit messages
68 -I --include PATTERN [+] include names matching the given patterns
68 -I --include PATTERN [+] include names matching the given patterns
69 -X --exclude PATTERN [+] exclude names matching the given patterns
69 -X --exclude PATTERN [+] exclude names matching the given patterns
70 -m --message TEXT use text as commit message
70 -m --message TEXT use text as commit message
71 -l --logfile FILE read commit message from file
71 -l --logfile FILE read commit message from file
72 -d --date DATE record the specified date as commit date
72 -d --date DATE record the specified date as commit date
73 -u --user USER record the specified user as committer
73 -u --user USER record the specified user as committer
74 -S --subrepos recurse into subrepositories
74 -S --[no-]subrepos recurse into subrepositories
75 -w --ignore-all-space ignore white space when comparing lines
75 -w --[no-]ignore-all-space ignore white space when comparing lines
76 -b --ignore-space-change ignore changes in the amount of white space
76 -b --[no-]ignore-space-change ignore changes in the amount of white space
77 -B --ignore-blank-lines ignore changes whose lines are all blank
77 -B --[no-]ignore-blank-lines ignore changes whose lines are all blank
78
78
79 (some details hidden, use --verbose to show complete help)
79 (some details hidden, use --verbose to show complete help)
80
80
@@ -135,20 +135,20 b' help (mq present)'
135
135
136 options ([+] can be repeated):
136 options ([+] can be repeated):
137
137
138 -e --edit invoke editor on commit messages
138 -e --[no-]edit invoke editor on commit messages
139 -g --git use git extended diff format
139 -g --[no-]git use git extended diff format
140 -U --currentuser add "From: <current user>" to patch
140 -U --[no-]currentuser add "From: <current user>" to patch
141 -u --user USER add "From: <USER>" to patch
141 -u --user USER add "From: <USER>" to patch
142 -D --currentdate add "Date: <current date>" to patch
142 -D --[no-]currentdate add "Date: <current date>" to patch
143 -d --date DATE add "Date: <DATE>" to patch
143 -d --date DATE add "Date: <DATE>" to patch
144 -I --include PATTERN [+] include names matching the given patterns
144 -I --include PATTERN [+] include names matching the given patterns
145 -X --exclude PATTERN [+] exclude names matching the given patterns
145 -X --exclude PATTERN [+] exclude names matching the given patterns
146 -m --message TEXT use text as commit message
146 -m --message TEXT use text as commit message
147 -l --logfile FILE read commit message from file
147 -l --logfile FILE read commit message from file
148 -w --ignore-all-space ignore white space when comparing lines
148 -w --[no-]ignore-all-space ignore white space when comparing lines
149 -b --ignore-space-change ignore changes in the amount of white space
149 -b --[no-]ignore-space-change ignore changes in the amount of white space
150 -B --ignore-blank-lines ignore changes whose lines are all blank
150 -B --[no-]ignore-blank-lines ignore changes whose lines are all blank
151 --mq operate on patch repository
151 --[no-]mq operate on patch repository
152
152
153 (some details hidden, use --verbose to show complete help)
153 (some details hidden, use --verbose to show complete help)
154
154
@@ -45,22 +45,22 b' Record help'
45
45
46 options ([+] can be repeated):
46 options ([+] can be repeated):
47
47
48 -A --addremove mark new/missing files as added/removed before
48 -A --[no-]addremove mark new/missing files as added/removed before
49 committing
49 committing
50 --close-branch mark a branch head as closed
50 --[no-]close-branch mark a branch head as closed
51 --amend amend the parent of the working directory
51 --[no-]amend amend the parent of the working directory
52 -s --secret use the secret phase for committing
52 -s --[no-]secret use the secret phase for committing
53 -e --edit invoke editor on commit messages
53 -e --[no-]edit invoke editor on commit messages
54 -I --include PATTERN [+] include names matching the given patterns
54 -I --include PATTERN [+] include names matching the given patterns
55 -X --exclude PATTERN [+] exclude names matching the given patterns
55 -X --exclude PATTERN [+] exclude names matching the given patterns
56 -m --message TEXT use text as commit message
56 -m --message TEXT use text as commit message
57 -l --logfile FILE read commit message from file
57 -l --logfile FILE read commit message from file
58 -d --date DATE record the specified date as commit date
58 -d --date DATE record the specified date as commit date
59 -u --user USER record the specified user as committer
59 -u --user USER record the specified user as committer
60 -S --subrepos recurse into subrepositories
60 -S --[no-]subrepos recurse into subrepositories
61 -w --ignore-all-space ignore white space when comparing lines
61 -w --[no-]ignore-all-space ignore white space when comparing lines
62 -b --ignore-space-change ignore changes in the amount of white space
62 -b --[no-]ignore-space-change ignore changes in the amount of white space
63 -B --ignore-blank-lines ignore changes whose lines are all blank
63 -B --[no-]ignore-blank-lines ignore changes whose lines are all blank
64
64
65 (some details hidden, use --verbose to show complete help)
65 (some details hidden, use --verbose to show complete help)
66
66
@@ -58,22 +58,22 b' shelve has a help message'
58
58
59 options ([+] can be repeated):
59 options ([+] can be repeated):
60
60
61 -A --addremove mark new/missing files as added/removed before
61 -A --[no-]addremove mark new/missing files as added/removed before
62 shelving
62 shelving
63 -u --unknown store unknown files in the shelve
63 -u --[no-]unknown store unknown files in the shelve
64 --cleanup delete all shelved changes
64 --[no-]cleanup delete all shelved changes
65 --date DATE shelve with the specified commit date
65 --date DATE shelve with the specified commit date
66 -d --delete delete the named shelved change(s)
66 -d --[no-]delete delete the named shelved change(s)
67 -e --edit invoke editor on commit messages
67 -e --[no-]edit invoke editor on commit messages
68 -l --list list current shelves
68 -l --[no-]list list current shelves
69 -m --message TEXT use text as shelve message
69 -m --message TEXT use text as shelve message
70 -n --name NAME use the given name for the shelved commit
70 -n --name NAME use the given name for the shelved commit
71 -p --patch show patch
71 -p --[no-]patch show patch
72 -i --interactive interactive mode, only works while creating a shelve
72 -i --[no-]interactive interactive mode, only works while creating a shelve
73 --stat output diffstat-style summary of changes
73 --[no-]stat output diffstat-style summary of changes
74 -I --include PATTERN [+] include names matching the given patterns
74 -I --include PATTERN [+] include names matching the given patterns
75 -X --exclude PATTERN [+] exclude names matching the given patterns
75 -X --exclude PATTERN [+] exclude names matching the given patterns
76 --mq operate on patch repository
76 --[no-]mq operate on patch repository
77
77
78 (some details hidden, use --verbose to show complete help)
78 (some details hidden, use --verbose to show complete help)
79
79
@@ -710,12 +710,12 b' Make sure no one adds back a -b option:'
710
710
711 -r --rev REV [+] strip specified revision (optional, can specify
711 -r --rev REV [+] strip specified revision (optional, can specify
712 revisions without this option)
712 revisions without this option)
713 -f --force force removal of changesets, discard uncommitted
713 -f --[no-]force force removal of changesets, discard uncommitted
714 changes (no backup)
714 changes (no backup)
715 --no-backup no backups
715 --[no-]backup no backups
716 -k --keep do not modify working directory during strip
716 -k --[no-]keep do not modify working directory during strip
717 -B --bookmark VALUE [+] remove revs only reachable from given bookmark
717 -B --bookmark VALUE [+] remove revs only reachable from given bookmark
718 --mq operate on patch repository
718 --[no-]mq operate on patch repository
719
719
720 (use 'hg strip -h' to show more help)
720 (use 'hg strip -h' to show more help)
721 [255]
721 [255]
General Comments 0
You need to be logged in to leave comments. Login now