On Monday, February 21, 2022 at 8:58:59 AM UTC Dima Pasechnik wrote:

> Thanks for the report, I've opened https://trac.sagemath.org/ticket/33394 
> to fix this.


https://trac.sagemath.org/ticket/33394
needs review now.
 

>
>
> On Mon, Feb 21, 2022 at 8:38 AM Dima Pasechnik <dim...@gmail.com> wrote: 
> > 
> > The correct syntax is 
> > sage -n --port 1234 
> > (no space between -- and port, because --port is just an option name) 
> > 
> > it seems to be a doumentation error that one needs a space. 
> > 
> > 
> > On Mon, Feb 21, 2022 at 2:45 AM ph h <hohoa...@gmail.com> wrote: 
> > > 
> > > Hi, 
> > > 
> > > ~/sage-9.6/b01$ ./sage --notebook --help 
> > > usage: sage-notebook [-h] [--log LOG] [--notebook [NOTEBOOK]] 
> > > 
> > > The Sage notebook launcher is used to start the notebook, and allows 
> > > you to choose between different implementations. Any further command 
> > > line options are passed to the respective notebook. 
> > > 
> > > optional arguments: 
> > > -h, --help show this help message and exit. Can be combined with 
> "--notebook=[...]" to see notebook- 
> > > specific options 
> > > --log LOG one of [DEBUG, INFO, ERROR, WARNING, CRITICAL] 
> > > --notebook [NOTEBOOK], -n [NOTEBOOK], -notebook [NOTEBOOK] 
> > > The notebook to run [one of: default, ipython, jupyter, jupyterlab, 
> export]. Default is 
> > > jupyter 
> > > 
> > > EXAMPLES: 
> > > 
> > > * Run default notebook on port 1234. Note that the first argument 
> > > after "-n" will be interpreted as notebook name unless you stop 
> > > processing with "--": 
> > > 
> > > sage -n default port=1234 
> > > sage -n -- port=1234 # equivalent 
> > > sage -n port=1234 # ERROR: invalid notebook name 
> > > 
> > > Did I miss something in the attached screen capture? 
> > > 
> > > Thank you for your help. 
> > > 
> > > Regards, 
> > > 
> > > phiho 
> > > 
> > > -- 
> > > 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+...@googlegroups.com. 
> > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/4b9c9b38-7411-4c46-934d-471176ab3610n%40googlegroups.com.
>  
>
>

-- 
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/f1fda56d-6870-4961-90f0-2c8356719b0cn%40googlegroups.com.

Reply via email to