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

Unified Diff: cmd/juju/expose.go

Issue 7370043: Change the way aliases to subcommands are handled.
Patch Set: Change the way aliases to subcommands are handled. Created 12 years, 1 month 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/destroyunit.go ('k') | cmd/juju/get.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/juju/expose.go
=== modified file 'cmd/juju/expose.go'
--- cmd/juju/expose.go 2013-02-19 00:11:52 +0000
+++ cmd/juju/expose.go 2013-02-20 22:11:47 +0000
@@ -15,7 +15,11 @@
}
func (c *ExposeCommand) Info() *cmd.Info {
- return &cmd.Info{"expose", "", "expose a service", ""}
+ return &cmd.Info{
+ Name: "expose",
+ Args: "<service>",
+ Purpose: "expose a service",
+ }
}
func (c *ExposeCommand) SetFlags(f *gnuflag.FlagSet) {
« no previous file with comments | « cmd/juju/destroyunit.go ('k') | cmd/juju/get.go » ('j') | no next file with comments »

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