aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-24 21:58:22 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-24 21:58:22 +0200
commitc8e5292ab7a4670ff67e587f18d7973eee2f00e6 (patch)
tree7ab94daab91a1315e5a9bd8905994886b4a6f2b9 /cli
parent835f3d746cc4fb867b65c8c3593870ce826c42f3 (diff)
CLI minor formatting
https://github.com/FreshRSS/FreshRSS/issues/1095
Diffstat (limited to 'cli')
-rwxr-xr-xcli/create-user.php3
-rwxr-xr-xcli/export-zip-for-user.php4
2 files changed, 3 insertions, 4 deletions
diff --git a/cli/create-user.php b/cli/create-user.php
index c790acb59..008b82ce3 100755
--- a/cli/create-user.php
+++ b/cli/create-user.php
@@ -35,8 +35,7 @@ $ok = FreshRSS_user_Controller::createUser($username,
'language' => empty($options['language']) ? '' : $options['language'],
'token' => empty($options['token']) ? '' : $options['token'],
),
- !isset($options['no-default-feeds'])
- );
+ !isset($options['no-default-feeds']));
if (!$ok) {
fail('FreshRSS could not create user!');
diff --git a/cli/export-zip-for-user.php b/cli/export-zip-for-user.php
index 9183a1c14..92fe9bf9a 100755
--- a/cli/export-zip-for-user.php
+++ b/cli/export-zip-for-user.php
@@ -20,8 +20,8 @@ $importController = new FreshRSS_importExport_Controller();
$ok = false;
try {
$ok = $importController->exportFile(true, true, true,
- empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
- $username);
+ empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
+ $username);
} catch (FreshRSS_ZipMissing_Exception $zme) {
fail('FreshRSS error: Lacking php-zip extension!');
}