commit deb90ed
grunfink
·
2025-06-15 07:44:56 +0000 UTC
parent e1fb414
Renamed cmd list_delete to list_remove.
1 files changed,
+2,
-2
M
main.c
M
main.c
+2,
-2
1@@ -67,7 +67,7 @@ int usage(const char *cmd)
2 "lists {basedir} {uid} Returns the names of the lists created by the user\n"
3 "list_members {basedir} {uid} {name} Returns the list of accounts inside a list\n"
4 "list_create {basedir} {uid} {name} Creates a new list\n"
5- "list_delete {basedir} {uid} {name} Deletes an existing list\n"
6+ "list_remove {basedir} {uid} {name} Removes an existing list\n"
7 "list_add {basedir} {uid} {name} {acct} Adds an account (@user@host or actor url) to a list\n"
8 "list_del {basedir} {uid} {name} {actor} Deletes an actor URL from a list\n";
9
10@@ -365,7 +365,7 @@ int main(int argc, char *argv[])
11 return 0;
12 }
13
14- if (strcmp(cmd, "list_delete") == 0) { /** **/
15+ if (strcmp(cmd, "list_remove") == 0) { /** **/
16 xs *lid = list_maint(&snac, url, 4);
17
18 if (lid != NULL) {