aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-06-15 09:44:56 +0200
committergrunfink <grunfink@comam.es>2025-06-15 09:44:56 +0200
commitdeb90ed0ac6dd5ccea4516b3988e16d95f9687b2 (patch)
tree4b095fd4352e1ff9706a27f6e634910a70a7db17
parente1fb414ffd4c46f51903f48ade7b399c0f5de9bb (diff)
Renamed cmd list_delete to list_remove.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 758e692..5af3695 100644
--- a/main.c
+++ b/main.c
@@ -67,7 +67,7 @@ int usage(const char *cmd)
"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"
"list_create {basedir} {uid} {name} Creates a new list\n"
- "list_delete {basedir} {uid} {name} Deletes an existing list\n"
+ "list_remove {basedir} {uid} {name} Removes 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";
@@ -365,7 +365,7 @@ int main(int argc, char *argv[])
return 0;
}
- if (strcmp(cmd, "list_delete") == 0) { /** **/
+ if (strcmp(cmd, "list_remove") == 0) { /** **/
xs *lid = list_maint(&snac, url, 4);
if (lid != NULL) {