From 3c69bc3e7b0dc85903203a01a60b6f7d02b12266 Mon Sep 17 00:00:00 2001 From: Philippe Weber Date: Tue, 24 May 2016 23:15:15 +0200 Subject: [PATCH] make plugin name parameter required Fixes #5355 --- lib/pluginmanager/generate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pluginmanager/generate.rb b/lib/pluginmanager/generate.rb index 658ff395793..c4d1b607a84 100644 --- a/lib/pluginmanager/generate.rb +++ b/lib/pluginmanager/generate.rb @@ -14,7 +14,7 @@ class LogStash::PluginManager::Generate < LogStash::PluginManager::Command arg end - option "--name", "PLUGIN", "Name of the new plugin" + option "--name", "PLUGIN", "Name of the new plugin", :required => true option "--path", "PATH", "Location where the plugin skeleton will be created", :default => Dir.pwd def execute