Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App help alignment doesn't look good for short command name #45

Closed
owenthereal opened this issue Nov 25, 2013 · 2 comments
Closed

App help alignment doesn't look good for short command name #45

owenthereal opened this issue Nov 25, 2013 · 2 comments

Comments

@owenthereal
Copy link

screen shot 2013-11-25 at 8 14 27 am

Let me know if I could help with anything

@kytrinyx
Copy link
Contributor

kytrinyx commented Dec 3, 2013

I'm unable to reproduce this.

Here's my test app:

package main

import (
  "os"
  "github.com/codegangsta/cli"
)

func main() {
  app := cli.NewApp()
  app.Name = "test"
  app.Usage = "verify help output"
    app.Commands = []cli.Command{
        {
            Name:      "hi",
            Usage:     "greet someone",
            Action: func(c *cli.Context) {
                println("Oh, hello there.")
            },
        },
    }
    app.Run(os.Args)
}

And here's the output that I get (on Darwin/amd64):

help-output

@owenthereal
Copy link
Author

It could be fixed as part of #48. Closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants