summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorJuan Manuel Tomas <jtomas1815@gmail.com>2021-08-05 01:18:19 -0300
committerJuan Manuel Tomas <jtomas1815@gmail.com>2021-08-05 01:18:19 -0300
commit98ab1d968030494fbfbe3688929b761382b28b09 (patch)
treec76b7f02b4484d6dce108e003e1be8e1c76c0ef7 /test/main.c
downloadflag-98ab1d968030494fbfbe3688929b761382b28b09.tar.gz
flag-98ab1d968030494fbfbe3688929b761382b28b09.zip
Initial CommitHEADmaster
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c
new file mode 100644
index 0000000..3b6c977
--- /dev/null
+++ b/test/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "../flag.h"
+
+int main() {
+ int test1 = flag_int("-j", 69, "<number of cores> Specifies the number of cores to be used.");
+ printf("This is the first test argument: %d\n", test1);
+ return 0;
+}