diff options
author | Mike Frysinger <vapier@google.com> | 2021-04-08 19:14:15 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-04-09 01:04:32 +0000 |
commit | 9a734a3975c1fc45a43466f1a42e3f2ca588bd19 (patch) | |
tree | 287131f8b60694e34d629c0b74597559512b89db /subcmds/gitc_init.py | |
parent | 6a2f4fb39073a4e2e6824d5f2f4a1cbf5fe4b766 (diff) | |
download | git-repo-9a734a3975c1fc45a43466f1a42e3f2ca588bd19.tar.gz |
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 <rtenneti@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r-- | subcmds/gitc_init.py | 7 |
1 files changed, 0 insertions, 7 deletions
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. | |||
48 | 48 | ||
49 | def _Options(self, p): | 49 | def _Options(self, p): |
50 | super()._Options(p, gitc_init=True) | 50 | super()._Options(p, gitc_init=True) |
51 | g = p.add_option_group('GITC options') | ||
52 | g.add_option('-f', '--manifest-file', | ||
53 | dest='manifest_file', | ||
54 | help='Optional manifest file to use for this GITC client.') | ||
55 | g.add_option('-c', '--gitc-client', | ||
56 | dest='gitc_client', | ||
57 | help='The name of the gitc_client instance to create or modify.') | ||
58 | 51 | ||
59 | def Execute(self, opt, args): | 52 | def Execute(self, opt, args): |
60 | gitc_client = gitc_utils.parse_clientdir(os.getcwd()) | 53 | gitc_client = gitc_utils.parse_clientdir(os.getcwd()) |