comparison tests/test-help.t @ 12316:4134686b83e1

tests: add exit codes to unified tests
author Matt Mackall <mpm@selenic.com>
date Thu, 16 Sep 2010 17:51:32 -0500
parents 166b9866580a
children b63f6422d2a7
comparison
equal deleted inserted replaced
12315:ca58f6475f1d 12316:4134686b83e1
398 -n --dry-run do not perform actions, just print output 398 -n --dry-run do not perform actions, just print output
399 399
400 [+] marked option can be specified multiple times 400 [+] marked option can be specified multiple times
401 401
402 use "hg -v help add" to show global options 402 use "hg -v help add" to show global options
403 [255]
403 404
404 Test ambiguous command help 405 Test ambiguous command help
405 406
406 $ hg help ad 407 $ hg help ad
407 list of commands: 408 list of commands:
571 status show changed files in the working directory 572 status show changed files in the working directory
572 summary summarize working directory state 573 summary summarize working directory state
573 update update working directory (or switch revisions) 574 update update working directory (or switch revisions)
574 575
575 use "hg help" for the full list of commands or "hg -v" for details 576 use "hg help" for the full list of commands or "hg -v" for details
577 [255]
576 578
577 $ hg skjdfks 579 $ hg skjdfks
578 hg: unknown command 'skjdfks' 580 hg: unknown command 'skjdfks'
579 Mercurial Distributed SCM 581 Mercurial Distributed SCM
580 582
597 status show changed files in the working directory 599 status show changed files in the working directory
598 summary summarize working directory state 600 summary summarize working directory state
599 update update working directory (or switch revisions) 601 update update working directory (or switch revisions)
600 602
601 use "hg help" for the full list of commands or "hg -v" for details 603 use "hg help" for the full list of commands or "hg -v" for details
604 [255]
602 605
603 $ cat > helpext.py <<EOF 606 $ cat > helpext.py <<EOF
604 > import os 607 > import os
605 > from mercurial import commands 608 > from mercurial import commands
606 > 609 >