On Fri, Jul 31, 2020 at 11:21:49PM +0200, Ralf Hemmecke wrote:
> > I feel that this is overreaction. GNU folks have reason to use two
> > dashes, AFAICS we do not.
>
> Of course, there is no need to do so, but many people nowadays expect
> long options with double dashes. I don't know why we must stick to the
> old system.
Single dash is widely used for options. The main reason for
double dash was that folks wanted to add new options that
did not fit existing single dash usage. Nobody sane wants
to remove single dash options from existing programs, so to
allow co-existence double dash is used. We do not have
such problem, our single dash options have room for expansion.
Concerning expectation, people who actually use options
will expect single dash options. Simple reason to prefer
single dash is that it is shorter. Another is that this
is what we use. Change would introduce confusion.
Note: '--version' is somewhat special and it is new, so
double dash is reasonable here (however, using '-version'
would be reasonable too).
> > IMO, reasonable change would be to replace current "catch all" item
> > by help, that is unrecognized option (including '--help') would print
> > help.
>
> Yes also possible.
>
> > Concerning '--version', it is _preferable_ to implement it by calling
> > 'FRICASsys' with appropriate option. ATM passing options to
> > 'FRICASsys' is problematic, but probably '--version' could be done
> > similarly to '-eval'.
>
> Honestly, no user must know about FRICASsys, so putting version
> information into the script is perfectly OK.
>
> Nevertheless, I would have nothing against also allowing a --version
> option for FriCASsys. I am even in favour of adding such an option.
> BTW, why is passing options to FRICASsys problematic. As you see from my
> patch, I allowed -eval and --eval. And that seems to work at least on my
> computer.
AFAICS you do not implement passing options to 'FRICASsys'. You
use existing hack... That I call problematic (but for now
it must do).
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/20200731215636.GB38505%40math.uni.wroc.pl.