diff options
| author | 2025-09-03 14:48:37 +0200 | |
|---|---|---|
| committer | 2025-09-03 14:48:37 +0200 | |
| commit | 9060ccd8e7826d384211552e4d5c5597ca97dc43 (patch) | |
| tree | 08e09ae136e09304eccd17662a06e95372dbb453 | |
| parent | Version 2.82 RELEASED. (diff) | |
| download | snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.tar.gz snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.tar.xz snac2-9060ccd8e7826d384211552e4d5c5597ca97dc43.zip | |
Document the update command
| -rw-r--r-- | doc/snac.1 | 2 | ||||
| -rw-r--r-- | main.c | 1 |
2 files changed, 3 insertions, 0 deletions
| @@ -282,6 +282,8 @@ necessary information will be prompted for. | |||
| 282 | Deletes a user, unfollowing all accounts first. | 282 | Deletes a user, unfollowing all accounts first. |
| 283 | .It Cm resetpwd Ar basedir Ar uid | 283 | .It Cm resetpwd Ar basedir Ar uid |
| 284 | Resets a user's password to a new, random one. | 284 | Resets a user's password to a new, random one. |
| 285 | .It Cm update Ar basedir Ar uid | ||
| 286 | Sends a user's updated profile to following instances. | ||
| 285 | .It Cm queue Ar basedir Ar uid | 287 | .It Cm queue Ar basedir Ar uid |
| 286 | Processes the output queue of the specified user, sending all | 288 | Processes the output queue of the specified user, sending all |
| 287 | enqueued messages and re-enqueing the failing ones. This command | 289 | enqueued messages and re-enqueing the failing ones. This command |
| @@ -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" |