summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2025-09-03 17:51:55 +0200
committerGravatar grunfink2025-09-03 17:51:55 +0200
commit6dae96de25ed8d91767aa4cb4e634b71a4b9ae9a (patch)
tree5565568507655f2f1a64c8dc434398152021d370
parentIn snac_init(), added a message mentioning .po files. (diff)
parentMerge pull request 'Document the update command' (#464) from xvello/snac2:upd... (diff)
downloadsnac2-6dae96de25ed8d91767aa4cb4e634b71a4b9ae9a.tar.gz
snac2-6dae96de25ed8d91767aa4cb4e634b71a4b9ae9a.tar.xz
snac2-6dae96de25ed8d91767aa4cb4e634b71a4b9ae9a.zip
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.
282Deletes a user, unfollowing all accounts first. 282Deletes a user, unfollowing all accounts first.
283.It Cm resetpwd Ar basedir Ar uid 283.It Cm resetpwd Ar basedir Ar uid
284Resets a user's password to a new, random one. 284Resets a user's password to a new, random one.
285.It Cm update Ar basedir Ar uid
286Sends a user's updated profile to following instances.
285.It Cm queue Ar basedir Ar uid 287.It Cm queue Ar basedir Ar uid
286Processes the output queue of the specified user, sending all 288Processes the output queue of the specified user, sending all
287enqueued messages and re-enqueing the failing ones. This command 289enqueued 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)
30 "upgrade {basedir} Upgrade to a new version\n" 30 "upgrade {basedir} Upgrade to a new version\n"
31 "adduser {basedir} [{uid}] Adds a new user\n" 31 "adduser {basedir} [{uid}] Adds a new user\n"
32 "deluser {basedir} {uid} Deletes a user\n" 32 "deluser {basedir} {uid} Deletes a user\n"
33 "update {basedir} {uid} Sends a user's updated profile\n"
33 "httpd {basedir} Starts the HTTPD daemon\n" 34 "httpd {basedir} Starts the HTTPD daemon\n"
34 "purge {basedir} Purges old data\n" 35 "purge {basedir} Purges old data\n"
35 "state {basedir} Prints server state\n" 36 "state {basedir} Prints server state\n"