Merge pull request #19223 from owncloud/improve_description_decrypt_encrypt_all

Improve description of the encrypt-all and decrypt-all command line tool
This commit is contained in:
Björn Schießle 2015-09-21 17:34:47 +02:00
commit 283216e9a0
3 changed files with 5 additions and 3 deletions

View File

@ -90,7 +90,7 @@ class DecryptAll {
);
$useLoginPassword = $this->questionHelper->ask($input, $output, $questionUseLoginPassword);
if ($useLoginPassword) {
$question = new Question('Please enter the users login password: ');
$question = new Question('Please enter the user\'s login password: ');
} else if ($this->util->isRecoveryEnabledForUser($user) === false) {
$output->writeln('No recovery key available for user ' . $user);
return false;

View File

@ -101,7 +101,8 @@ class DecryptAll extends Command {
parent::configure();
$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 '
. 'all users if it is supported by your encryption module. '
. 'Please make sure that no user access his files during this process!'

View File

@ -93,7 +93,8 @@ class EncryptAll extends Command {
parent::configure();
$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. '
. 'Please make sure that no user access his files during this process!'
);