HomePhabricator

Improve help and prompts for the "--draft" flag

Description

Improve help and prompts for the "--draft" flag

Summary:
See PHI458. The help text and prompting for "arc diff --draft" aren't very clear about whether updating publishes or not, nor about whether you need to keep passing "--draft" every time.

Make these behaviors more clear.

Test Plan:

  • Ran arc help diff, read text.
  • Updated a draft with "--draft", got new warning but it went through.
  • Updated a published revision with "--draft", got new error.

Differential Revision: https://secure.phabricator.com/D19229

Details

Provenance
epriestleyAuthored on Mar 15 2018, 3:20 AM
epriestleyPushed on Mar 15 2018, 3:24 AM
Differential Revision
D19229: Improve help and prompts for the "--draft" flag
Parents
rARCe64cbd3ba73d: Merge branch "master" into "experimental".
Branches
Unknown
Tags
Unknown
Build Status
Buildable 19859
Build 26912: Run Core Tests