summaryrefslogtreecommitdiffstats
path: root/subcmds/diff.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-06-14 16:05:19 -0400
committerMike Frysinger <vapier@google.com>2021-06-15 06:07:37 +0000
commit4f21054c2841809da5e1e600b1cc765811288a80 (patch)
tree326156bb4407124de07207847bd9e4587124e37d /subcmds/diff.py
parent5ba2120362ceb49b89e0536108792fd7c824e28a (diff)
downloadgit-repo-4f21054c2841809da5e1e600b1cc765811288a80.tar.gz
commands: document the "common" class attribute
Switch it to uppercase to make it clear it's a constant, and add documentation so its usage is clear. Change-Id: I6d281a66a90b5908b3131585c9945e88cfe815ea Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/309322 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/diff.py')
-rw-r--r--subcmds/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/diff.py b/subcmds/diff.py
index b400ccfd..00a7ec29 100644
--- a/subcmds/diff.py
+++ b/subcmds/diff.py
@@ -19,7 +19,7 @@ from command import DEFAULT_LOCAL_JOBS, PagedCommand
19 19
20 20
21class Diff(PagedCommand): 21class Diff(PagedCommand):
22 common = True 22 COMMON = True
23 helpSummary = "Show changes between commit and working tree" 23 helpSummary = "Show changes between commit and working tree"
24 helpUsage = """ 24 helpUsage = """
25%prog [<project>...] 25%prog [<project>...]