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

Unified Diff: cmd/juju/set.go

Issue 6532043: cmd/juju: set: add --config path (Closed)
Patch Set: cmd/juju: set: add --config path Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cmd/juju/cmd_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/juju/set.go
=== modified file 'cmd/juju/set.go'
--- cmd/juju/set.go 2012-09-13 07:22:45 +0000
+++ cmd/juju/set.go 2012-09-18 10:25:20 +0000
@@ -14,7 +14,7 @@
EnvName string
ServiceName string
Options []Option
- ConfPath string
+ Config cmd.FileVar
}
type Option struct {
@@ -27,7 +27,7 @@
func (c *SetCommand) Init(f *gnuflag.FlagSet, args []string) error {
addEnvironFlags(&c.EnvName, f)
- f.StringVar(&c.ConfPath, "config", "", "path to yaml-formatted service config")
+ f.Var(&c.Config, "config", "path to yaml-formatted service config")
if err := f.Parse(true, args); err != nil {
return err
}
« no previous file with comments | « cmd/juju/cmd_test.go ('k') | no next file » | no next file with comments »

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