]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/sh64/sim-if.c
sim: parse_args: display getopt error ourselves
[thirdparty/binutils-gdb.git] / sim / sh64 / sim-if.c
index ba8feb81237de7a2a4144bffaf5f2736a72bd6f5..907ee06a25cb901906609ab5b48b57f4a78ffdae 100644 (file)
@@ -79,9 +79,7 @@ sim_open (kind, callback, abfd, argv)
       return 0;
     }
 
-  /* getopt will print the error message so we just have to exit if this fails.
-     FIXME: Hmmm...  in the case of gdb we need getopt to call
-     print_filtered.  */
+  /* The parser will print an error message for us, so we silently return.  */
   if (sim_parse_args (sd, argv) != SIM_RC_OK)
     {
       free_state (sd);