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/selfupdate.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/selfupdate.py')
-rw-r--r-- | subcmds/selfupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/selfupdate.py b/subcmds/selfupdate.py index 388881d9..282f518e 100644 --- a/subcmds/selfupdate.py +++ b/subcmds/selfupdate.py | |||
@@ -21,7 +21,7 @@ from subcmds.sync import _PostRepoFetch | |||
21 | 21 | ||
22 | 22 | ||
23 | class Selfupdate(Command, MirrorSafeCommand): | 23 | class Selfupdate(Command, MirrorSafeCommand): |
24 | common = False | 24 | COMMON = False |
25 | helpSummary = "Update repo to the latest version" | 25 | helpSummary = "Update repo to the latest version" |
26 | helpUsage = """ | 26 | helpUsage = """ |
27 | %prog | 27 | %prog |