We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b868809 commit d1a05afCopy full SHA for d1a05af
Console.go
@@ -45,7 +45,7 @@ func helpDaemon(val string, c *Console) bool {
45
46
// 添加通用参数
47
func (c *Console) AddBaseOption(param ArgParam) {
48
- c.baseOption = append(c.baseOption, param)
+ c.baseOption = append([]ArgParam{param}, c.baseOption...)
49
}
50
51
type Command interface {
0 commit comments