summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/forall.py3
-rw-r--r--subcmds/gitc_init.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py
index dbf26f0b..d0e51920 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -127,7 +127,8 @@ without iterating through the remaining projects.
127 help="Execute the command only on projects matching regex or wildcard expression") 127 help="Execute the command only on projects matching regex or wildcard expression")
128 p.add_option('-i', '--inverse-regex', 128 p.add_option('-i', '--inverse-regex',
129 dest='inverse_regex', action='store_true', 129 dest='inverse_regex', action='store_true',
130 help="Execute the command only on projects not matching regex or wildcard expression") 130 help="Execute the command only on projects not matching regex or "
131 "wildcard expression")
131 p.add_option('-g', '--groups', 132 p.add_option('-g', '--groups',
132 dest='groups', 133 dest='groups',
133 help="Execute the command only on projects matching the specified groups") 134 help="Execute the command only on projects matching the specified groups")
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 378f9236..30a9f7a5 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -62,7 +62,8 @@ use for this GITC client.
62 def Execute(self, opt, args): 62 def Execute(self, opt, args):
63 gitc_client = gitc_utils.parse_clientdir(os.getcwd()) 63 gitc_client = gitc_utils.parse_clientdir(os.getcwd())
64 if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client): 64 if not gitc_client or (opt.gitc_client and gitc_client != opt.gitc_client):
65 print('fatal: Please update your repo command. See go/gitc for instructions.', file=sys.stderr) 65 print('fatal: Please update your repo command. See go/gitc for instructions.',
66 file=sys.stderr)
66 sys.exit(1) 67 sys.exit(1)
67 self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(), 68 self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(),
68 gitc_client) 69 gitc_client)