summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Xavier Vello2025-09-03 14:48:37 +0200
committerGravatar Xavier Vello2025-09-03 14:48:37 +0200
commit9060ccd8e7826d384211552e4d5c5597ca97dc43 (patch)
tree08e09ae136e09304eccd17662a06e95372dbb453
parentVersion 2.82 RELEASED. (diff)
downloadpenes-snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.tar.gz
penes-snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.tar.xz
penes-snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.zip
Document the update command
-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 e01b6a2..b855e06 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"