[DVIPDFMx] dvipdfmx --version / --help

Jin-Hwan Cho jinhwan.cho at gmail.com
Sat Oct 10 19:01:04 KST 2009


Modified the CVS code as suggested by Matthias and Karl.

Thanks, ChoF.

On Oct 10, 2009, at 6:03 AM, Karl Berry wrote:

>    1) In usage(), one could replace show_usage and show_version by  
> something
>    like
>
>              fprintf(stdout, "\nType \"dvipdfmx --help\" for details. 
> \n");
>
>    Then mistakes on the command line don't automatically produce the
>    help screen anymore. I sometimes find it annoying that simple typos
>    fill most of the screen with text.
>
> I fully agree.  For example, cp --foo reports:
>
> cp: unrecognized option `--foo'
> Try `cp --help' for more information.
>
> I think that is the best approach.
>
>    2) What about extractbb? Should we have the same options there?
>
> Yes.  The ideal is that all executables should recognize those two
> options.
>
>
> Thanks,
> Karl



More information about the dvipdfmx mailing list