Skip to content

Commit

Permalink
Merge pull request #950 from mesg-foundation/fix/service-start-stop-args
Browse files Browse the repository at this point in the history
Fix/service start stop args
  • Loading branch information
antho1404 authored May 11, 2019
2 parents ca0991f + 1cd9ece commit bceac85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions commands/provider/assets/readme_template.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion commands/provider/assets/readme_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {{.Name}}
# {{.Name}} {{if .Sid}}(ID: {{.Sid}}){{end}}

{{.Description}}

Expand Down
1 change: 1 addition & 0 deletions commands/service_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func newServiceStartCmd(e ServiceExecutor) *serviceStartCmd {
Long: "Start a service previously published services",
Example: `mesg-core service start SERVICE [SERVICE...]`,
RunE: c.runE,
Args: cobra.MinimumNArgs(1),
})
return c
}
Expand Down
1 change: 1 addition & 0 deletions commands/service_stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func newServiceStopCmd(e ServiceExecutor) *serviceStopCmd {
Short: "Stop a service",
Example: `mesg-core service stop SERVICE [SERVICE...]`,
RunE: c.runE,
Args: cobra.MinimumNArgs(1),
})
return c
}
Expand Down

0 comments on commit bceac85

Please sign in to comment.