Page MenuHomePhabricator

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

Authored by epriestley on Mar 15 2018, 3:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 4:08 AM
Unknown Object (File)
Sun, Apr 14, 10:40 PM
Unknown Object (File)
Sun, Apr 14, 10:32 AM
Unknown Object (File)
Thu, Apr 11, 9:53 PM
Unknown Object (File)
Thu, Apr 11, 8:10 AM
Unknown Object (File)
Wed, Apr 10, 7:42 AM
Unknown Object (File)
Thu, Mar 28, 1:45 AM
Unknown Object (File)
Feb 14 2024, 2:55 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 15 2018, 3:23 AM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.