summaryrefslogtreecommitdiff
path: root/src/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/main.c')
-rw-r--r--src/main/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/main.c b/src/main/main.c
index 3858682..59a9a59 100644
--- a/src/main/main.c
+++ b/src/main/main.c
@@ -112,7 +112,11 @@ void update_file_watches(struct reactor *reactor) {
}
}
-void usage() { printf("TODO: print usage\n"); }
+void usage() {
+ printf("dged - a text editor for datagubbar/datagummor!\n");
+ printf("usage: dged [-l/--line line_number] [-e/--end] [-h/--help] "
+ "[filename]\n");
+}
int main(int argc, char *argv[]) {