aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-03 17:51:55 +0200
committergrunfink <grunfink@comam.es>2025-09-03 17:51:55 +0200
commit6dae96de25ed8d91767aa4cb4e634b71a4b9ae9a (patch)
tree5565568507655f2f1a64c8dc434398152021d370
parent080a22c7942c6129256fb0a0aae2a9b478687a19 (diff)
parentb203eb3703ce823839aabc8aed6b631804da8e4b (diff)
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
-rw-r--r--doc/snac.12
-rw-r--r--main.c1
2 files changed, 3 insertions, 0 deletions
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 882da33..f767355 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"