aboutsummaryrefslogtreecommitdiff
path: root/cli/import-for-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 13:37:48 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 13:37:48 +0200
commitfcb9280fc87c159539f5832ab35f174cd515654e (patch)
tree8fa0879f001c9cbc6120d2b0bbff364358871851 /cli/import-for-user.php
parent6d42acf5fd7906168c9e547c3d0ce675b8fd6fd2 (diff)
CLI export
ZIP export, OPML export. Corrected height of feeds select in Pafat theme. https://github.com/FreshRSS/FreshRSS/pull/1338 https://github.com/FreshRSS/FreshRSS/issues/1039 https://github.com/FreshRSS/FreshRSS/issues/1277
Diffstat (limited to 'cli/import-for-user.php')
-rwxr-xr-xcli/import-for-user.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/import-for-user.php b/cli/import-for-user.php
index 308786599..29084f062 100755
--- a/cli/import-for-user.php
+++ b/cli/import-for-user.php
@@ -5,11 +5,10 @@ require('_cli.php');
$options = getopt('', array(
'user:',
'filename:',
- 'clear-existing',
));
if (empty($options['user']) || empty($options['filename'])) {
- fail('Usage: ' . basename(__FILE__) . " --user=username --filename='/path/to/file.ext' --clear-existing");
+ fail('Usage: ' . basename(__FILE__) . " --user username --filename /path/to/file.ext");
}
$username = cliInitUser($options['user']);