]> khamidou — GitHub mirrors - arcanist.git/commit
arc diff: --only doesn't conflict with --nounit or --nolint
authorAdam Simpkins <simpkins@fb.com>
Tue, 17 May 2011 19:54:38 +0000 (12:54 -0700)
committerAdam Simpkins <simpkins@fb.com>
Tue, 17 May 2011 20:08:21 +0000 (13:08 -0700)
commit10bdc77f96b04763bb7e02b7d1c3b6268b88b9b9
tree74d6e9982d509dcbef5c79cd11bf519678b8e1ec
parent952fa69f72bd226a5e4b1c481780bea7058037d9
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
src/workflow/diff/ArcanistDiffWorkflow.php