1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

arc diff: --only doesn't conflict with --nounit or --nolint

Summary:
The --only flag implies --nounit and --nolint, so there's really no
conflict if these flags are specified together.

(My wrapper around arc diff automatically specifies --nounit in some
cases.  It is useful to be able to manually add --only in some cases,
and not have it fail because it conflicts with the automatically
specified --nounit flag.)

Test Plan:
Ran "arc diff --only --nounit".

Reviewed By: epriestley
Reviewers: epriestley, jungejason
CC: aran, epriestley, simpkins
Differential Revision: 298
This commit is contained in:
Adam Simpkins 2011-05-17 12:54:38 -07:00
parent 952fa69f72
commit 10bdc77f96

View file

@ -118,8 +118,6 @@ EOTEXT
'advice' => '--only suppresses lint.', 'advice' => '--only suppresses lint.',
'apply-patches' => '--only suppresses lint.', 'apply-patches' => '--only suppresses lint.',
'never-apply-patches' => '--only suppresses lint.', 'never-apply-patches' => '--only suppresses lint.',
'nounit' => '--only implies --nounit.',
'nolint' => '--only implies --nolint.',
), ),
), ),
'preview' => array( 'preview' => array(