On Monday, June 13, 2022 at 11:36:11 PM UTC-7 hohoa...@gmail.com wrote:
> Hi, > > > That is, "./sage --tox -p auto ..." is completely different from "./sage > -p auto". > > Would it be nice if the syntax for the options are consistent, like' > "sage --p PKG" instead of "sage -p PKG"? > It's pretty standard behavior for command-line interfaces for single letters to use a single hyphen before them (and for consistency, "-b -t -p" can be combined into "-btp"), whereas options which are longer use two hyphens: "--package". "sage -h" and "sage --help" are synonyms, and they use the standard hyphenation pattern. Note that "sage -help" is also accepted, and I don't think that's a good design choice. I just stumbled on the website http://www.catb.org/~esr/writings/taoup/html/ch10s05.html, which describes some of the history of command line options in Unix and related systems. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/53332347-29d0-4206-b73f-106a5b8f4c06n%40googlegroups.com.