--- a/src/sdl-main.c
+++ b/src/sdl-main.c
@@ -83,7 +83,7 @@ static void fail(int code, const char *fmt, ...) {
 }
 
 static void usage() {
-  puts("Usage: risc [OPTIONS...] DISK-IMAGE\n"
+  printf("Usage: %s [OPTIONS...] DISK-IMAGE\n"
        "\n"
        "Options:\n"
        "  --fullscreen          Start the emulator in full screen mode\n"
@@ -93,8 +93,8 @@ static void usage() {
        "  --size WIDTHxHEIGHT   Set framebuffer size\n"
        "  --boot-from-serial    Boot from serial line (disk image not required)\n"
        "  --serial-in FILE      Read serial input from FILE\n"
-       "  --serial-out FILE     Write serial output to FILE\n"
-       );
+       "  --serial-out FILE     Write serial output to FILE\n",
+       getprogname());
   exit(1);
 }
 
