aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c
index bc6b673..e50b7ae 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2,7 +2,9 @@
#include <stdio.h> // for input/output
#include <stdlib.h> // for STD macros
#include <getopt.h> // for getopt
+#include "tdo.h"
+// for debugging
void print_args(int argc, char* argv[]) {
printf("There are %i arguments\n",argc);
printf("Those arguments are:\n");
@@ -11,17 +13,6 @@ void print_args(int argc, char* argv[]) {
}
}
-void new_tdo(int argc, char** argv) {
- printf("New todo: ");
- // just in case not using quotes
- for (int i=2; i<argc; ++i) printf("%s ",argv[i]);
- printf("\n");
-}
-
-void print_version() {
- printf("tdo version 0.0.1\n");
-}
-
int main(int argc, char* argv[]) {
char* valid_opts = "nv";
int opt;