+ } else if (strncmp(argv[1], "subscribe", 9) == 0) {
+ if (argc < 4) {
+ printf("Not enough arguments for subscribe\n");
+ help();
+ exit(1);
+ }
+ if (!subscription_add(argv[2], argv[3])) {
+ printf("Could not subscribe %s to %s\n", argv[2], argv[3]);
+ exit(1);
+ }
+ } else if (strncmp(argv[1], "unsubscribe", 11) == 0) {
+ if (argc < 4) {
+ printf("Not enough arguments for unsubscribe\n");
+ help();
+ exit(1);
+ }
+ if (!subscription_remove(argv[2], argv[3])) {
+ printf("Could not subscribe %s to %s\n", argv[2], argv[3]);
+ exit(1);
+ }