未验证 提交 375f4429 编写于 作者: I Ilia Choly 提交者: GitHub

terminal/command: Check for missing argument to 'dump' command (#2377)

上级 a3c7ba88
......@@ -2640,6 +2640,9 @@ func display(t *Term, ctx callContext, args string) error {
}
func dump(t *Term, ctx callContext, args string) error {
if args == "" {
return fmt.Errorf("not enough arguments")
}
dumpState, err := t.client.CoreDumpStart(args)
if err != nil {
return err
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册