commit b203eb3
Merge pull request 'Document the update command' (#464) from xvello/snac2:update-doc into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/464
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"