mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
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
This commit is contained in:
@@ -4,16 +4,16 @@ require('_cli.php');
|
||||
|
||||
$options = getopt('', array(
|
||||
'user:',
|
||||
'password::',
|
||||
'api-password::',
|
||||
'language::',
|
||||
'email::',
|
||||
'token::',
|
||||
'password:',
|
||||
'api-password:',
|
||||
'language:',
|
||||
'email:',
|
||||
'token:',
|
||||
));
|
||||
|
||||
if (empty($options['user'])) {
|
||||
fail('Usage: ' . basename(__FILE__) . " --user=username --password='password' --api-password='api_password'" .
|
||||
" --language=en --email=user@example.net --token='longRandomString'");
|
||||
fail('Usage: ' . basename(__FILE__) . " --user username --password 'password' --api-password 'api_password'" .
|
||||
" --language en --email user@example.net --token 'longRandomString'");
|
||||
}
|
||||
$username = $options['user'];
|
||||
if (!ctype_alnum($username)) {
|
||||
|
||||
Reference in New Issue
Block a user