Dear Gnulib developers,

Gnuastro uses Argp for its argument parsing and the experience has been very good! So first of all, I wanted to thank you very much for all the wonderful work :-).

This email is about using '-inf' as an argument (negative infinity), not a short option '-i' in Argp. It happened to one of Gnuastro's users and the only solution that occurred to me was to set it to the vertical TAB (ASCII code 11) so Argp parses it as an argument, then convert it back afterward Argp (see [1]).

But this is not the most elegant solution to this problem, so along with Antonio (in Cc), we became curious and wanted to share the situation with you to see what you would have done in this case (or if there is actually a solution in Argp that I had missed until now).

Thanks a lot,
Mohammad

[1] https://savannah.gnu.org/bugs/?67191

Reply via email to