From 2a1ccb2b0ca6a975614b96271fccd82a58394157 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 10 Apr 2009 16:51:53 -0700 Subject: [PATCH] Hide the internal sync --repo-upgraded flag from users This is only meant to be passed through while repo upgrades itself during a sync. It should never be something a user invokes on their own. Signed-off-by: Shawn O. Pearce --- subcmds/sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subcmds/sync.py b/subcmds/sync.py index fff1281a..d3f6adc1 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from optparse import SUPPRESS_HELP import os import re import subprocess @@ -51,7 +52,7 @@ the manifest. help='do not verify repo source code') p.add_option('--repo-upgraded', dest='repo_upgraded', action='store_true', - help='perform additional actions after a repo upgrade') + help=SUPPRESS_HELP) def _Fetch(self, *projects): fetched = set()