#11021: Fix "sage -info" and a bug when sourcing sage-env more than once
--------------------------------------------------------+-------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.7.1
Component: packages | Keywords:
SPKG.txt SAGE.txt -info BUILD sage-env sage-sage sage-spkg
Work_issues: | Upstream: N/A
Reviewer: Kelvin Li, Leif Leonhardy, John Palmieri | Author: Leif
Leonhardy, Kelvin Li
Merged: | Dependencies:
--------------------------------------------------------+-------------------
Comment(by jhpalmieri):
Replying to [comment:31 leif]:
> Replying to [comment:25 jhpalmieri]:
> > - The `file.spkg` argument should be documented in the `-advanced`
option. Easy to fix, but I'll leave it to you in hopes that you'll fix
the next problem as well.
>
> Well, that's not advanced usage ;-) , but I can add it there, too.
It would fit in well after the lines
{{{
Running Sage:
file.[sage|py|spyx] -- run given .sage, .py or .spyx files
}}}
> (It's btw. not a new feature, I just documented it.)
Right.
> > - If you run "`sage -info zlib sqlite`", it says "Listing SPKG.txt of
zlib sqlite", which looks a little funny to me. This is not a big deal,
but if you could fix it, that would be nice.
>
> Hmmm, that's intentional. Do you want the spkg names to be separated by
commas?
If possible, commas would be nice. It looks fine with a single argument,
but with multiple args, I think some punctuation would help.
> > Oh, and also, "`sage --info ...`" should work...
>
> We (currently) don't support long options consistently, but I can also
add that (i.e., support `--info`, too).
We say that we do: at the end of "sage -advanced", it says
{{{
You can also use -- before a long option, e.g., 'sage --optional'.
}}}
I see that a few options are missing, like `--merge``, but most of them
are there. The script sage-sage is a mess anyway, but cleaning it up
belongs on another ticket^TM^.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11021#comment:35>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.