From e1fb414ffd4c46f51903f48ade7b399c0f5de9bb Mon Sep 17 00:00:00 2001 From: grunfink Date: Sun, 15 Jun 2025 09:43:42 +0200 Subject: Renamed some list command line options. create_list to list_create delete_list to list_delete. --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 85576b6..758e692 100644 --- a/main.c +++ b/main.c @@ -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) { -- cgit v1.2.3