summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rwxr-xr-xrepo4
1 files changed, 4 insertions, 0 deletions
diff --git a/repo b/repo
index d9c97de1..b3f3673b 100755
--- a/repo
+++ b/repo
@@ -145,6 +145,8 @@ if not REPO_URL:
145REPO_REV = os.environ.get('REPO_REV') 145REPO_REV = os.environ.get('REPO_REV')
146if not REPO_REV: 146if not REPO_REV:
147 REPO_REV = 'stable' 147 REPO_REV = 'stable'
148# URL to file bug reports for repo tool issues.
149BUG_URL = 'https://bugs.chromium.org/p/gerrit/issues/entry?template=Repo+tool+issue'
148 150
149# increment this whenever we make important changes to this script 151# increment this whenever we make important changes to this script
150VERSION = (2, 14) 152VERSION = (2, 14)
@@ -1171,6 +1173,7 @@ The most commonly used repo commands are:
1171 1173
1172For access to the full online help, install repo ("repo init"). 1174For access to the full online help, install repo ("repo init").
1173""") 1175""")
1176 print('Bug reports:', BUG_URL)
1174 sys.exit(0) 1177 sys.exit(0)
1175 1178
1176 1179
@@ -1204,6 +1207,7 @@ def _Version():
1204 print('OS %s %s (%s)' % (uname.system, uname.release, uname.version)) 1207 print('OS %s %s (%s)' % (uname.system, uname.release, uname.version))
1205 print('CPU %s (%s)' % 1208 print('CPU %s (%s)' %
1206 (uname.machine, uname.processor if uname.processor else 'unknown')) 1209 (uname.machine, uname.processor if uname.processor else 'unknown'))
1210 print('Bug reports:', BUG_URL)
1207 sys.exit(0) 1211 sys.exit(0)
1208 1212
1209 1213