sagemath/sage

-s option to sage issues

williamstein opened this issue · 4 comments

[justin]: Hmmm...it's actually "-s -i".  The 'sage' command seems to care about the order of switches; "-f -i" works, while "-i -f" doesn't.  "-i -s" does not save the results, while '-s -i' does.  Is that intentional?
[11:54am] was389: it's a bug.

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/180

comment:1

Hmmm again:
$ sage -s -i gd-2.0.33.p1
Unknown option: -s
usage: sage [options]
Try 'sage -h' for more information.

Works when used as "sage -f -s -i gd-2.0.33.p1"

comment:2

And just to continue filling out forms:

sage -i -s gd-2.0.33.p1

works. Yeesh....

comment:3

change to enhancement, i.e., sage currently doesn't support complicated command
line switches and doesn't claim to!

comment:5

This ticket is the same issue as #21, so I am closing this as a dupe and adding a comment to #21 to also check these issues.

Cheers,

Michael