options: server-reset: pass is_hard only when set

This commit is contained in:
Yousong Zhou
2018-08-30 03:22:48 +00:00
parent 6c0b16323a
commit a1f67a60de
+1 -1
View File
@@ -274,5 +274,5 @@ type ServerChangeConfigOptions struct {
type ServerResetOptions struct {
ID []string `help:"ID of servers to operate" metavar:"SERVER" json:"-"`
Hard bool `help:"Hard reset or not; default soft" json:"is_hard"`
Hard *bool `help:"Hard reset or not; default soft" json:"is_hard"`
}