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

epriestley <git@epriestley.com> 编辑于 Mar 15 2018, 11:20 AM 。

简介

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

详情

提交
epriestley <git@epriestley.com>Mar 15 2018, 11:24 AM
父级
rARCe64cbd3ba73d: Merge branch "master" into "experimental".
分支
未知
标签
未知
epriestley <git@epriestley.com> 提交了 rARC49a3ae9dad4c: Improve help and prompts for the "--draft" flag (由 epriestley <git@epriestley.com> 编辑)。Mar 15 2018, 11:24 AM