Browse Source

New command-line option 'poll_hashtag_rss'.

grunfink 1 year ago
parent
commit
5ec55544e4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      main.c

+ 5 - 0
main.c

@@ -143,6 +143,11 @@ int main(int argc, char *argv[])
         return 0;
         return 0;
     }
     }
 
 
+    if (strcmp(cmd, "poll_hashtag_rss") == 0) { /** **/
+        rss_poll_hashtags();
+        return 0;
+    }
+
     if (strcmp(cmd, "state") == 0) { /** **/
     if (strcmp(cmd, "state") == 0) { /** **/
         xs *shm_name = NULL;
         xs *shm_name = NULL;
         srv_state *p_state = srv_state_op(&shm_name, 1);
         srv_state *p_state = srv_state_op(&shm_name, 1);