diff options
| author | 2017-07-23 00:14:01 +0200 | |
|---|---|---|
| committer | 2017-07-23 00:14:01 +0200 | |
| commit | e5b7586a3d354e388e11972ab3d9c4a6328f6ac4 (patch) | |
| tree | 98cb925bd460c40e1d21801172917a24dbd5c02c /cli | |
| parent | a11517dc9a028d7f8be56680d07d49e0a6b4c551 (diff) | |
CLI update-user usage
Diffstat (limited to 'cli')
| -rwxr-xr-x | cli/update-user.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/update-user.php b/cli/update-user.php index 6b54f4038..f8ed26c8f 100755 --- a/cli/update-user.php +++ b/cli/update-user.php @@ -19,7 +19,8 @@ $options = getopt('', array( if (empty($options['user'])) { fail('Usage: ' . basename(__FILE__) . " --user username ( --password 'password' --api-password 'api_password'" . - " --language en --email user@example.net --token 'longRandomString' )"); + " --language en --email user@example.net --token 'longRandomString' --purge_after_months 3 " . + " --feed_min_articles_default 50 --feed_ttl_default 3600 --since_hours_posts_per_rss 168 --min_posts_per_rss 2 --max_posts_per_rss 400 )"); } $username = cliInitUser($options['user']); @@ -51,4 +52,6 @@ if (!$ok) { invalidateHttpCache($username); +accessRights(); + done($ok); |
