From 9a734a3975c1fc45a43466f1a42e3f2ca588bd19 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Apr 2021 19:14:15 -0400 Subject: init: merge subcmd & wrapper parsers These are manually kept in sync which is a pain. Have the init subcmd reuse the wrapper code directly. Change-Id: Ica73211422c64377bacc9bb3b1d1a8d9d5f7f4ca Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/302762 Reviewed-by: Raman Tenneti Tested-by: Mike Frysinger --- subcmds/gitc_init.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'subcmds/gitc_init.py') diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py index 89472edb..23a4ebb6 100644 --- a/subcmds/gitc_init.py +++ b/subcmds/gitc_init.py @@ -48,13 +48,6 @@ use for this GITC client. def _Options(self, p): super()._Options(p, gitc_init=True) - g = p.add_option_group('GITC options') - g.add_option('-f', '--manifest-file', - dest='manifest_file', - help='Optional manifest file to use for this GITC client.') - g.add_option('-c', '--gitc-client', - dest='gitc_client', - help='The name of the gitc_client instance to create or modify.') def Execute(self, opt, args): gitc_client = gitc_utils.parse_clientdir(os.getcwd()) -- cgit v1.2.3-54-g00ecf