diff options
author | Mike Frysinger <vapier@google.com> | 2021-06-14 16:05:19 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-06-15 06:07:37 +0000 |
commit | 4f21054c2841809da5e1e600b1cc765811288a80 (patch) | |
tree | 326156bb4407124de07207847bd9e4587124e37d /subcmds/info.py | |
parent | 5ba2120362ceb49b89e0536108792fd7c824e28a (diff) | |
download | git-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/info.py')
-rw-r--r-- | subcmds/info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/info.py b/subcmds/info.py index f7cf60fc..6c1246ef 100644 --- a/subcmds/info.py +++ b/subcmds/info.py | |||
@@ -25,7 +25,7 @@ class _Coloring(Coloring): | |||
25 | 25 | ||
26 | 26 | ||
27 | class Info(PagedCommand): | 27 | class Info(PagedCommand): |
28 | common = True | 28 | COMMON = True |
29 | helpSummary = "Get info on the manifest branch, current branch or unmerged branches" | 29 | helpSummary = "Get info on the manifest branch, current branch or unmerged branches" |
30 | helpUsage = "%prog [-dl] [-o [-c]] [<project>...]" | 30 | helpUsage = "%prog [-dl] [-o [-c]] [<project>...]" |
31 | 31 | ||