diff options
| author | 2016-10-23 13:37:48 +0200 | |
|---|---|---|
| committer | 2016-10-23 13:37:48 +0200 | |
| commit | fcb9280fc87c159539f5832ab35f174cd515654e (patch) | |
| tree | 8fa0879f001c9cbc6120d2b0bbff364358871851 /cli/create-user.php | |
| parent | 6d42acf5fd7906168c9e547c3d0ce675b8fd6fd2 (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/create-user.php')
| -rwxr-xr-x | cli/create-user.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cli/create-user.php b/cli/create-user.php index 387b503b6..243e65a35 100755 --- a/cli/create-user.php +++ b/cli/create-user.php @@ -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)) { |
