summaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-04-13 17:56:14 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-04-13 17:56:14 +0200
commit9d3b555393735e08c27b04a8b616f2736afe26de (patch)
treef483cb50a59547fdc8b03ef01dfefb8123b0292b /more.c
downloadabase-9d3b555393735e08c27b04a8b616f2736afe26de.tar.gz
abase-9d3b555393735e08c27b04a8b616f2736afe26de.tar.bz2
created initial layout and a dummy more.c
Diffstat (limited to 'more.c')
-rw-r--r--more.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/more.c b/more.c
new file mode 100644
index 0000000..11a3c2d
--- /dev/null
+++ b/more.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+
+#include "util.h"
+
+static void
+usage(void)
+{
+ eprintf("usage: %s [file ...]\n", argv0);
+}
+
+int
+main(int argc, char *argv[])
+{
+ int ret = 0;
+
+ ARGBEGIN {
+ default:
+ usage();
+ } ARGEND
+
+ return ret;
+}