Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(849)

Issue 12158043: cmd/juju: confirm destroy-environment (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by axw
Modified:
10 years, 8 months ago
Reviewers:
axw1, rog, jameinel, fwereade, mp+177820
Visibility:
Public.

Description

cmd/juju: confirm destroy-environment Fixes bug 1121914 https://code.launchpad.net/~axwalk/juju-core/lp1121914-confirm-destroy-environment/+merge/177820 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7

Patch Set 2 : cmd/juju: confirm destroy-environment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -6 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/cmd_test.go View 1 4 chunks +60 lines, -4 lines 0 comments Download
M cmd/juju/destroyenvironment.go View 1 3 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 6
axw
Please take a look.
10 years, 9 months ago (2013-07-31 12:27:31 UTC) #1
fwereade
LGTM, thank you.
10 years, 9 months ago (2013-07-31 13:12:43 UTC) #2
rog
LGTM for backwards compatibility, despite my meh about the functionality itself. Please reference bug 1121914 ...
10 years, 9 months ago (2013-07-31 13:41:26 UTC) #3
axw1
https://codereview.appspot.com/12158043/diff/1/cmd/juju/destroyenvironment.go File cmd/juju/destroyenvironment.go (right): https://codereview.appspot.com/12158043/diff/1/cmd/juju/destroyenvironment.go#newcode32 cmd/juju/destroyenvironment.go:32: f.BoolVar(&c.assumeYes, "yes", false, "Do not ask for confirmation") On ...
10 years, 9 months ago (2013-08-01 01:34:31 UTC) #4
axw
Please take a look.
10 years, 9 months ago (2013-08-01 01:36:03 UTC) #5
jameinel
10 years, 9 months ago (2013-08-08 18:01:44 UTC) #6
https://codereview.appspot.com/12158043/diff/1/cmd/juju/destroyenvironment.go
File cmd/juju/destroyenvironment.go (right):

https://codereview.appspot.com/12158043/diff/1/cmd/juju/destroyenvironment.go...
cmd/juju/destroyenvironment.go:62: Continue [y/N]? `
On 2013/08/01 01:34:32, axw1 wrote:
> On 2013/07/31 13:41:26, rog wrote:
> > s/N/n/ ?
> 
> I don't think so. It's taken straight from pyjuju, and capitalising the
default
> option is fairly standard IMHO. If there's a preferred way of conveying the
> default (e.g. "[y/n] (default: n)?") then I'm happy to do a follow-up.

I agree. It is standard practice to capitalize the default option.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b