aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-05 22:09:39 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-05 22:09:39 +0100
commitdde719060afeb23f9092702f538eda16079d8ce3 (patch)
tree11f364c97c9ab350aa50edfd1909b03d9a0f933d
parent8e55aa98034e177d3b8251234100782150f743e8 (diff)
CLI another example: users ranked by activity date
https://github.com/FreshRSS/FreshRSS/issues/1345 https://github.com/FreshRSS/FreshRSS/issues/1358
-rw-r--r--cli/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/README.md b/cli/README.md
index 09dcbd27e..35c0033a4 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -72,3 +72,9 @@ Example showing user information for all users which username starts with 'a':
```sh
./cli/list-users.php | grep '^a' | xargs -n1 ./cli/user-info.php -h --user
```
+
+Example showing all users ranked by date of last activity:
+
+```sh
+./cli/user-info.php -h --user '*' | sort -k2 -r
+```