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
F19825162: D19229.id.diff
Sun, Mar 8, 8:10 AM
F18750508: D19229.id46041.diff
Oct 4 2025, 8:03 AM
F18598450: D19229.diff
Sep 13 2025, 5:04 AM
Unknown Object (File)
Apr 28 2025, 7:48 AM
Unknown Object (File)
Apr 28 2025, 1:16 AM
Unknown Object (File)
Apr 24 2025, 5:46 AM
Unknown Object (File)
Apr 23 2025, 10:52 AM
Unknown Object (File)
Apr 19 2025, 10:11 PM
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.