On Thu, Nov 27, 2025 at 11:59 AM Mohammad Akhlaghi <[email protected]> wrote: > 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]).
One suggestion that I haven't seen yet is to invoke the binary with -- to mark the end of options, like this: astarithmetic -- 2 -inf x This is a standard approach that should work with every binary that accepts options in a Unix-like way.
