improve description and help output for the encrypt-all and decrypt-all command

This commit is contained in:
Bjoern Schiessle 2015-09-21 13:30:04 +02:00 committed by Lukas Reschke
parent 8b83c6d5a4
commit 03e05d5dbc
2 changed files with 4 additions and 2 deletions

View File

@ -101,7 +101,8 @@ class DecryptAll extends Command {
parent::configure(); parent::configure();
$this->setName('encryption:decrypt-all'); $this->setName('encryption:decrypt-all');
$this->setDescription( $this->setDescription('Disable server-side encryption and decrypt all files');
$this->setHelp(
'This will disable server-side encryption and decrypt all files for ' 'This will disable server-side encryption and decrypt all files for '
. 'all users if it is supported by your encryption module. ' . 'all users if it is supported by your encryption module. '
. 'Please make sure that no user access his files during this process!' . 'Please make sure that no user access his files during this process!'

View File

@ -93,7 +93,8 @@ class EncryptAll extends Command {
parent::configure(); parent::configure();
$this->setName('encryption:encrypt-all'); $this->setName('encryption:encrypt-all');
$this->setDescription( $this->setDescription('Encrypt all files for all users');
$this->setHelp(
'This will encrypt all files for all users. ' 'This will encrypt all files for all users. '
. 'Please make sure that no user access his files during this process!' . 'Please make sure that no user access his files during this process!'
); );