~zeller-benjamin/ubuntu-sdk-tools/lxd-2.3

« back to all changes in this revision

Viewing changes to usdk-target/help.go

  • Committer: Tarmac
  • Author(s): Tim Peeters
  • Date: 2016-09-29 13:23:01 UTC
  • mfrom: (30.1.1 ubuntu-sdk-tools)
  • Revision ID: tarmac-20160929132301-a4bxqbo6cz1fj57n
Print the correct command name in usdk-target usage help.

Approved by ubuntu-sdk-build-bot, Benjamin Zeller.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
}
37
37
 
38
38
func (c *helpCmd) usage() string {
39
 
        return "Presents details on how to use usdk-wrapper."
 
39
        return "Presents details on how to use usdk-target."
40
40
}
41
41
 
42
42
func (c *helpCmd) flags() {
55
55
                return nil
56
56
        }
57
57
 
58
 
        fmt.Println("Usage: usdk-wrapper [subcommand] [options]")
 
58
        fmt.Println("Usage: usdk-target [subcommand] [options]")
59
59
        fmt.Println("Available commands:")
60
60
        var names []string
61
61
        for name := range commands {