diff options
| author | grunfink <grunfink@comam.es> | 2025-06-15 09:43:42 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-06-15 09:43:42 +0200 |
| commit | e1fb414ffd4c46f51903f48ade7b399c0f5de9bb (patch) | |
| tree | 9ed5cb68fcf0903758d627bc8f06935c684a5c2a | |
| parent | 2cba505dba666eac983045336f9c2a53b1948168 (diff) | |
Renamed some list command line options.
create_list to list_create delete_list to list_delete.
| -rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -66,8 +66,8 @@ int usage(const char *cmd) "import_block_list {basedir} {uid} {file} Imports a Mastodon CSV block list file\n" "lists {basedir} {uid} Returns the names of the lists created by the user\n" "list_members {basedir} {uid} {name} Returns the list of accounts inside a list\n" - "create_list {basedir} {uid} {name} Creates a new list\n" - "delete_list {basedir} {uid} {name} Deletes an existing list\n" + "list_create {basedir} {uid} {name} Creates a new list\n" + "list_delete {basedir} {uid} {name} Deletes an existing list\n" "list_add {basedir} {uid} {name} {acct} Adds an account (@user@host or actor url) to a list\n" "list_del {basedir} {uid} {name} {actor} Deletes an actor URL from a list\n"; @@ -352,7 +352,7 @@ int main(int argc, char *argv[]) return 0; } - if (strcmp(cmd, "create_list") == 0) { /** **/ + if (strcmp(cmd, "list_create") == 0) { /** **/ xs *lid = list_maint(&snac, url, 4); if (lid == NULL) { @@ -365,7 +365,7 @@ int main(int argc, char *argv[]) return 0; } - if (strcmp(cmd, "delete_list") == 0) { /** **/ + if (strcmp(cmd, "list_delete") == 0) { /** **/ xs *lid = list_maint(&snac, url, 4); if (lid != NULL) { |