summaryrefslogtreecommitdiffstats
path: root/subcmds/diffmanifests.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/diffmanifests.py')
-rw-r--r--subcmds/diffmanifests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/subcmds/diffmanifests.py b/subcmds/diffmanifests.py
index f6cc30a2..0e5f4108 100644
--- a/subcmds/diffmanifests.py
+++ b/subcmds/diffmanifests.py
@@ -179,6 +179,9 @@ synced and their revisions won't be found.
179 def ValidateOptions(self, opt, args): 179 def ValidateOptions(self, opt, args):
180 if not args or len(args) > 2: 180 if not args or len(args) > 2:
181 self.OptionParser.error('missing manifests to diff') 181 self.OptionParser.error('missing manifests to diff')
182 if opt.this_manifest_only is False:
183 raise self.OptionParser.error(
184 '`diffmanifest` only supports the current tree')
182 185
183 def Execute(self, opt, args): 186 def Execute(self, opt, args):
184 self.out = _Coloring(self.client.globalConfig) 187 self.out = _Coloring(self.client.globalConfig)