From 3444249020d29ff3d76bda8cf52f6bc2e5012216 Mon Sep 17 00:00:00 2001 From: "Joel W. Reed" Date: Wed, 26 Mar 2008 14:48:20 -0400 Subject: [PATCH] usage.help --- tools/opentf/DiffCommand.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/opentf/DiffCommand.cs b/tools/opentf/DiffCommand.cs index 5682dee..a818794 100644 --- a/tools/opentf/DiffCommand.cs +++ b/tools/opentf/DiffCommand.cs @@ -362,6 +362,9 @@ class DifferenceCommand : Command VersionSpec fromVersionSpec = GetValidVersionSpec(Arguments[0]); VersionSpec toVersionSpec = GetValidVersionSpec(Arguments[1]); + if (fromVersionSpec == null || toVersionSpec == null) + Usage(); + string localPath = Environment.CurrentDirectory; string serverPath = null; if (Arguments.Length > 2) -- 2.11.4.GIT