chore: 对齐
This commit is contained in:
parent
aa784c4187
commit
2450be244e
@ -31,12 +31,12 @@ func (c *cAbout) Init(args []string) {
|
|||||||
c.Action = func() error {
|
c.Action = func() error {
|
||||||
fmt.Printf("About:\n")
|
fmt.Printf("About:\n")
|
||||||
fmt.Printf("==================================================\n")
|
fmt.Printf("==================================================\n")
|
||||||
fmt.Printf(" Version: %s\n", c.cli.GetVersion())
|
fmt.Printf(" Version: %s\n", c.cli.GetVersion())
|
||||||
wd, _ := filepath.Abs("./")
|
wd, _ := filepath.Abs("./")
|
||||||
fmt.Printf(" BaseDir: %s\n", wd)
|
fmt.Printf(" BaseDir: %s\n", wd)
|
||||||
fmt.Printf(" Env: %s\n", "dev")
|
fmt.Printf(" Env: %s\n", "dev")
|
||||||
fmt.Printf(" Debug: %v\n", true)
|
fmt.Printf(" Debug: %v\n", true)
|
||||||
fmt.Printf(" GOOS: %s %s\n", runtime.GOOS, runtime.GOARCH)
|
fmt.Printf(" GOOS: %s %s\n", runtime.GOOS, runtime.GOARCH)
|
||||||
|
|
||||||
hd := c.cli.GetExtraAbout()
|
hd := c.cli.GetExtraAbout()
|
||||||
if hd != nil {
|
if hd != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user