commit 9060ccd

Xavier Vello  ·  2025-09-03 12:48:37 +0000 UTC
parent d23fc31
Document the update command
2 files changed,  +3, -0
M main.c
+2, -0
1@@ -282,6 +282,8 @@ necessary information will be prompted for.
2 Deletes a user, unfollowing all accounts first.
3 .It Cm resetpwd Ar basedir Ar uid
4 Resets a user's password to a new, random one.
5+.It Cm update Ar basedir Ar uid
6+Sends a user's updated profile to following instances.
7 .It Cm queue Ar basedir Ar uid
8 Processes the output queue of the specified user, sending all
9 enqueued messages and re-enqueing the failing ones. This command
M main.c
+1, -0
1@@ -30,6 +30,7 @@ int usage(const char *cmd)
2         "upgrade {basedir}                    Upgrade to a new version\n"
3         "adduser {basedir} [{uid}]            Adds a new user\n"
4         "deluser {basedir} {uid}              Deletes a user\n"
5+        "update {basedir} {uid}               Sends a user's updated profile\n"
6         "httpd {basedir}                      Starts the HTTPD daemon\n"
7         "purge {basedir}                      Purges old data\n"
8         "state {basedir}                      Prints server state\n"