...
This commit is contained in:
parent
7457746d65
commit
68d589826a
@ -383,7 +383,6 @@ func show_usage(cmd *cobra.Command, use_pager bool) error {
|
|||||||
fmt.Fprint(&output, ", ", opt_fmt("-"+flag.Shorthand))
|
fmt.Fprint(&output, ", ", opt_fmt("-"+flag.Shorthand))
|
||||||
}
|
}
|
||||||
defval := ""
|
defval := ""
|
||||||
fmt.Println(flag.Value.Type())
|
|
||||||
switch flag.Value.Type() {
|
switch flag.Value.Type() {
|
||||||
default:
|
default:
|
||||||
if flag.DefValue != "" {
|
if flag.DefValue != "" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user