Mercurial > hg
comparison tests/test-rhg.t @ 46591:21d3b40b4c0e
rhg: Remove error message on unsupported CLI arguments
Like in other "unsupported" cases that return a specific exit code
Differential Revision: https://phab.mercurial-scm.org/D10002
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 12 Feb 2021 16:54:30 +0100 |
parents | a25033eb43b5 |
children | 755c31a1caf9 |
comparison
equal
deleted
inserted
replaced
46590:8d20abed6a1e | 46591:21d3b40b4c0e |
---|---|
10 > fi | 10 > fi |
11 > } | 11 > } |
12 | 12 |
13 Unimplemented command | 13 Unimplemented command |
14 $ rhg unimplemented-command | 14 $ rhg unimplemented-command |
15 error: Found argument 'unimplemented-command' which wasn't expected, or isn't valid in this context | |
16 | |
17 USAGE: | |
18 rhg [OPTIONS] <SUBCOMMAND> | |
19 | |
20 For more information try --help | |
21 [252] | 15 [252] |
22 | 16 |
23 Finding root | 17 Finding root |
24 $ rhg root | 18 $ rhg root |
25 abort: no repository found in '$TESTTMP' (.hg not found)! | 19 abort: no repository found in '$TESTTMP' (.hg not found)! |