chore: move print calls together
This commit is contained in:
1 parent
8d6a1773a3
commit
884c45de0c
3 files changed
+3
-3
No files matched your search
@@ -67,11 +67,11 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Println(helpHeader)
|
|
||||||
config := columnize.DefaultConfig()
|
config := columnize.DefaultConfig()
|
||||||
config.Delim = ","
|
config.Delim = ","
|
||||||
config.Prefix = " "
|
config.Prefix = " "
|
||||||
config.Empty = ""
|
config.Empty = ""
|
||||||
content := strings.Split(helpContent, "\n")[1:]
|
content := strings.Split(helpContent, "\n")[1:]
|
||||||
|
fmt.Println(helpHeader)
|
||||||
fmt.Println(columnize.Format(content, config))
|
fmt.Println(columnize.Format(content, config))
|
||||||
}
|
}
|
||||||
@@ -55,11 +55,11 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Println(helpHeader)
|
|
||||||
config := columnize.DefaultConfig()
|
config := columnize.DefaultConfig()
|
||||||
config.Delim = ","
|
config.Delim = ","
|
||||||
config.Prefix = " "
|
config.Prefix = " "
|
||||||
config.Empty = ""
|
config.Empty = ""
|
||||||
content := strings.Split(helpContent, "\n")[1:]
|
content := strings.Split(helpContent, "\n")[1:]
|
||||||
|
fmt.Println(helpHeader)
|
||||||
fmt.Println(columnize.Format(content, config))
|
fmt.Println(columnize.Format(content, config))
|
||||||
}
|
}
|
||||||
@@ -53,11 +53,11 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Println(helpHeader)
|
|
||||||
config := columnize.DefaultConfig()
|
config := columnize.DefaultConfig()
|
||||||
config.Delim = ","
|
config.Delim = ","
|
||||||
config.Prefix = " "
|
config.Prefix = " "
|
||||||
config.Empty = ""
|
config.Empty = ""
|
||||||
content := strings.Split(helpContent, "\n")[1:]
|
content := strings.Split(helpContent, "\n")[1:]
|
||||||
|
fmt.Println(helpHeader)
|
||||||
fmt.Println(columnize.Format(content, config))
|
fmt.Println(columnize.Format(content, config))
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user