Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: cit.py

Issue 1682293002: Sort the list of tools shown by cit.py's help message (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cit.py
diff --git a/cit.py b/cit.py
index c191f6339f961137d94494e75acb02ec4a5802dd..aeab2e90c5ccc6af3b4456665ba6d0eef44ebe95 100755
--- a/cit.py
+++ b/cit.py
@@ -77,7 +77,7 @@ def get_available_tools():
for root, _, files in os.walk(starting):
if '__main__.py' in files:
tools.append(root[len(starting)+1:].replace(os.path.sep, '.'))
- return tools
+ return sorted(tools)
def run(args):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698