diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -61,7 +61,7 @@ int usage(const char *cmd) | |||
| 61 | "verify_links {basedir} {uid} Verifies a user's links (in the metadata)\n" | 61 | "verify_links {basedir} {uid} Verifies a user's links (in the metadata)\n" |
| 62 | "search {basedir} {uid} {regex} Searches posts by content\n" | 62 | "search {basedir} {uid} {regex} Searches posts by content\n" |
| 63 | "export_csv {basedir} {uid} Exports followers, lists, MUTEd and bookmarks to CSV\n" | 63 | "export_csv {basedir} {uid} Exports followers, lists, MUTEd and bookmarks to CSV\n" |
| 64 | "export_posts {basedir} {iod} Exports all posts to outbox.json\n" | 64 | "export_posts {basedir} {uid} Exports all posts to outbox.json\n" |
| 65 | "alias {basedir} {uid} {account} Sets account (@user@host or actor url) as an alias\n" | 65 | "alias {basedir} {uid} {account} Sets account (@user@host or actor url) as an alias\n" |
| 66 | "migrate {basedir} {uid} Migrates to the account defined as the alias\n" | 66 | "migrate {basedir} {uid} Migrates to the account defined as the alias\n" |
| 67 | "import_csv {basedir} {uid} Imports data from CSV files\n" | 67 | "import_csv {basedir} {uid} Imports data from CSV files\n" |
| @@ -731,6 +731,12 @@ int main(int argc, char *argv[]) | |||
| 731 | return 0; | 731 | return 0; |
| 732 | } | 732 | } |
| 733 | 733 | ||
| 734 | if (strcmp(cmd, "collect_replies") == 0) { /** **/ | ||
| 735 | enqueue_collect_replies(&snac, url); | ||
| 736 | |||
| 737 | return 0; | ||
| 738 | } | ||
| 739 | |||
| 734 | if (strcmp(cmd, "insert") == 0) { /** **/ | 740 | if (strcmp(cmd, "insert") == 0) { /** **/ |
| 735 | int status; | 741 | int status; |
| 736 | xs *data = NULL; | 742 | xs *data = NULL; |