#11698: Fix trivial typo in Sage devel guide
----------------------------------------------------+-----------------------
Reporter: kcrisman | Owner: mvngu
Type: defect | Status: closed
Priority: trivial | Milestone:
sage-4.7.2
Component: documentation | Resolution: fixed
Keywords: | Work_issues:
Upstream: N/A | Reviewer: Leif
Leonhardy, Karl-Dieter Crisman
Author: Karl-Dieter Crisman, Jeroen Demeyer | Merged:
sage-4.7.2.rc0
Dependencies: |
----------------------------------------------------+-----------------------
Comment(by leif):
Replying to [comment:13 jdemeyer]:
> Replying to [comment:12 kcrisman]:
> > By the way, why are we considering `-option` deprecated in favor of
`--option`? This is the sort of thing that definitely seems arbitrary,
especially if both of them work...
Because long options with a single dash are odd in that they prevent us
from using e.g. `sage -tlvp 4 ...` instead of `sage -tp 4 -long -verbose
...`.
Sage really wasn't designed very well regarding that. (Worse, also the
order matters; you e.g. cannot use `-s -i` instead of `-i -s`, nor `-is`
or `-si`, and `-ba-force` is not an alternate form of `-b -a -f` or
`--build --all --force`.)
[[BR]]
> This is essentially a standard set by GNU. For example, `ls --help` will
work but `ls -help` will be interpreted as `ls -h -e -l -p`. But even GNU
has exceptions, for example GCC has all single-dash options.
Actually it's a Unix convention, from the very beginning, that you can
specify `-aBc` as well as `-a -B -c` (having the same meaning). Then the
alternate long options (''always'' with a double dash) came, although
today a few do not even have a corresponding short form.
Regarding GCC, that to some extent depends on the interpretation; for
example the various `-f`, `-m` and `-W` options can be considered taking
(mandatory) arguments which immediately follow the (single letter) option,
without a separator. On the other hand, there are options like `-ansi`,
`-pipe`, `-print-search-dirs`, `--target-help` and `--version`, where the
former three of course ''are'' long options with only a single dash (and
none of them take a parameter).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11698#comment:15>
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.