提交 b13fe990 编写于 作者: D Darren Rambaud 提交者: Derek Parker

cmds/commands: Add --continue flag to attach

Add --continue as a valid flag for the attach command by decorating attachCommand
with the continueOnStart variable.

Fixes #1995
上级 00aab8d6
......@@ -139,6 +139,7 @@ option to let the process continue or kill it.
},
Run: attachCmd,
}
attachCommand.Flags().BoolVar(&continueOnStart, "continue", false, "Continue the debugged process on start.")
rootCommand.AddCommand(attachCommand)
// 'connect' subcommand.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册