A free, self-hostable news aggregator…
CLI minor formatting
Alexandre Alapetitec8e5292ab7a4
diff --git a/cli/create-user.php b/cli/create-user.phpindex 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.phpindex 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!');}