From b7ac0605e148a8d8808eeddd2e03e0ca6822cb5c Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 17 Jun 2022 10:36:35 -0400 Subject: Add ability to exit before git-merge is invoked It may be useful for the maintainer to review b4 retrieval/validation output before git-merge is invoked, so add a pause requiring an Enter or Ctrl-C. Signed-off-by: Konstantin Ryabitsev --- b4/command.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'b4/command.py') diff --git a/b4/command.py b/b4/command.py index 4f69231..92ffd65 100644 --- a/b4/command.py +++ b/b4/command.py @@ -117,6 +117,8 @@ def cmd(): help='Add more debugging info to the output') parser.add_argument('-q', '--quiet', action='store_true', default=False, help='Output critical information only') + parser.add_argument('-n', '--no-interactive', action='store_true', default=False, + help='Do not ask any interactive questions') subparsers = parser.add_subparsers(help='sub-command help', dest='subcmd') -- cgit v1.2.3