summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDirectoryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakeDirectoryCommand.cxx')
-rw-r--r--Source/cmMakeDirectoryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakeDirectoryCommand.cxx b/Source/cmMakeDirectoryCommand.cxx
index 4f7f8e7..6d919c7 100644
--- a/Source/cmMakeDirectoryCommand.cxx
+++ b/Source/cmMakeDirectoryCommand.cxx
@@ -20,7 +20,7 @@
// cmMakeDirectoryCommand
bool cmMakeDirectoryCommand::InitialPass(std::vector<std::string> const& args)
{
- if(args.size() < 1 )
+ if(args.size() != 1 )
{
this->SetError("called with incorrect number of arguments");
return false;