From 9060ccd8e7826d384211552e4d5c5597ca97dc43 Mon Sep 17 00:00:00 2001 From: Xavier Vello Date: Wed, 3 Sep 2025 14:48:37 +0200 Subject: Document the update command --- doc/snac.1 | 2 ++ main.c | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/snac.1 b/doc/snac.1 index 134ee6e..6c9b3d3 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -282,6 +282,8 @@ necessary information will be prompted for. Deletes a user, unfollowing all accounts first. .It Cm resetpwd Ar basedir Ar uid Resets a user's password to a new, random one. +.It Cm update Ar basedir Ar uid +Sends a user's updated profile to following instances. .It Cm queue Ar basedir Ar uid Processes the output queue of the specified user, sending all enqueued messages and re-enqueing the failing ones. This command diff --git a/main.c b/main.c index e01b6a2..b855e06 100644 --- a/main.c +++ b/main.c @@ -30,6 +30,7 @@ int usage(const char *cmd) "upgrade {basedir} Upgrade to a new version\n" "adduser {basedir} [{uid}] Adds a new user\n" "deluser {basedir} {uid} Deletes a user\n" + "update {basedir} {uid} Sends a user's updated profile\n" "httpd {basedir} Starts the HTTPD daemon\n" "purge {basedir} Purges old data\n" "state {basedir} Prints server state\n" -- cgit v1.2.3