#232 Typo in gpdasm help message

closed
Borut Ražem
None
5
2012-08-12
2012-03-04
Alain Portal
No

"gpdasm -h" displays the last option comment on the same line instead of displaying it on 2 lines.
Here is a patch that fixes the typo.

Is there any reason to not display and/or enable the short option for --strict?

Regards

Discussion

  • Alain Portal
    Alain Portal
    2012-03-04

    Sorry, I forgot to fix another typo in the same file.

    --- gputils/gpdasm.c~ 2012-03-04 19:04:40.000000000 +0100
    +++ gputils/gpdasm.c 2012-03-04 19:04:40.000000000 +0100
    @@ -153,7 +153,7 @@
    printf(" -v, --version Show version.\n");
    printf(" -y, --extended Enable 18xx extended mode.\n");
    printf(" --strict Disassemble only opcodes generated by gpasm\n"
    - " in case of instructions with serveral opcodes\n");
    + " in case of instructions with several opcodes\n");
    printf("\n");
    printf("Report bugs to:\n");
    printf("%s\n", PACKAGE_BUGREPORT);

    The doc file need to be updated as it hold the typo.

    Regards

     


Anonymous


Cancel   Add attachments