summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Smeding <t.j.smeding@uu.nl>2024-07-13 18:33:37 +0200
committerTom Smeding <t.j.smeding@uu.nl>2024-07-13 18:33:37 +0200
commita08a2a2dbb3d150bdb2d01bd54c6ad32f02fe5fa (patch)
treeaaac1ffb99935d3b65eed111c9d7f158d28ac176 /src
parenteba8b972d2bc85b8fe6acff90505116da8e29abd (diff)
waar, poging 2
Diffstat (limited to 'src')
-rw-r--r--src/waar.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/waar.c b/src/waar.c
new file mode 100644
index 0000000..6fa570c
--- /dev/null
+++ b/src/waar.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <string.h>
+
+int entry_waar(int argc, char **argv) {
+ if (argc == 2 && strcmp(argv[1], "-h") == 0) {
+ fprintf(stderr, "Gebruik: waar\n"
+ "\n"
+ "Geeft waarheid terug.\n");
+ return 0;
+ }
+ return 0;
+}