mirror of
https://github.com/mikedilger/chorus.git
synced 2026-05-03 06:51:42 +00:00
Doc fixes
This commit is contained in:
parent
e5251e0f57
commit
2ca4b17b73
@ -10,10 +10,10 @@
|
|||||||
2) Users and moderators are now dynamically configured in the database. Use `chorus_cmd` to
|
2) Users and moderators are now dynamically configured in the database. Use `chorus_cmd` to
|
||||||
manage them from the command line:
|
manage them from the command line:
|
||||||
|
|
||||||
* Adding a user: `chorus_cmd add_user <pubkey> 0`
|
* Adding a user: `chorus_cmd <chorus.toml> add_user <pubkey> 0`
|
||||||
* Adding a moderator: `chorus_cmd add_user <pubkey> 1`
|
* Adding a moderator: `chorus_cmd <chorus.toml> add_user <pubkey> 1`
|
||||||
* Removing a user or moderator: `chorus_cmd rm_user <pubkey>`
|
* Removing a user or moderator: `chorus_cmd <chorus.toml> rm_user <pubkey>`
|
||||||
* Listing users and moderators: `chorus_cmd dump_users`
|
* Listing users and moderators: `chorus_cmd <chorus.toml> dump_users`
|
||||||
|
|
||||||
3) Remove the following from your config file as these are no longer used:
|
3) Remove the following from your config file as these are no longer used:
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ fn main() -> Result<(), Error> {
|
|||||||
// Get args (config path)
|
// Get args (config path)
|
||||||
let mut args = env::args();
|
let mut args = env::args();
|
||||||
if args.len() <= 1 {
|
if args.len() <= 1 {
|
||||||
panic!("USAGE: chorus_moderate <config_path>");
|
panic!("USAGE: chorus_cmd <config_path> <command> [args...]");
|
||||||
}
|
}
|
||||||
let _ = args.next(); // ignore program name
|
let _ = args.next(); // ignore program name
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user