From a02aa3ddd1fe850ba7102a774c79e250b2a75ea9 Mon Sep 17 00:00:00 2001 From: SmetDenis Date: Sun, 8 Jul 2018 23:48:28 +0300 Subject: [PATCH] fixes --- .gitignore | 2 ++ src/KeySaveCommand.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 35a09f2..0e00de0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /phpunit.xml /phpunit-*.xml /composer.lock +.DS_Store + diff --git a/src/KeySaveCommand.php b/src/KeySaveCommand.php index 97e0cdc..3292a6a 100644 --- a/src/KeySaveCommand.php +++ b/src/KeySaveCommand.php @@ -32,7 +32,7 @@ protected function configure() ->setName('key:save') ->addOption('name', null, InputOption::VALUE_REQUIRED, 'Name of key') ->addOption('value', null, InputOption::VALUE_REQUIRED, 'Value of key') - ->addOption('group', null, InputOption::VALUE_REQUIRED, 'Group of keys', 'default') + ->addOption('group', null, InputOption::VALUE_OPTIONAL, 'Group of keys', 'default') ->setDescription('Save key'); }