commit 2244f02470b291265d1ba1139e0d2e5a08ce3674 parent 171044b77b975fbba1c5c0d3ada8888dc4aca185 Author: Brian Swetland <swetland@frotz.net> Date: Mon, 6 Dec 2021 15:42:00 -0800 emulator: usage message Diffstat:
M | src/r5e.c | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/r5e.c b/src/r5e.c @@ -35,7 +35,14 @@ int main(int argc, char** argv) { } if (fn == NULL) { - fprintf(stderr, "r5e: no image specified\n"); + fprintf(stderr, +"usage: r5e <options>* <binary> [ -- <arg>* ]\n" +"\n" +"options: -n no cycle limit (run forever)\n" +" -t trace execution\n" +"\n" +"args: passed on to emulated program\n" +); return -1; }