##// END OF EJS Templates
Fix formatting of usage examples for `set_env` magic
Deepyaman Datta -
Show More
@@ -468,9 +468,9 b' class OSMagics(Magics):'
468 string.
468 string.
469
469
470 Usage:\\
470 Usage:\\
471 %set_env var val: set value for var
471 :``%set_env var val``: set value for var
472 %set_env var=val: set value for var
472 :``%set_env var=val``: set value for var
473 %set_env var=$val: set value for var, using python expansion if possible
473 :``%set_env var=$val``: set value for var, using python expansion if possible
474 """
474 """
475 split = '=' if '=' in parameter_s else ' '
475 split = '=' if '=' in parameter_s else ' '
476 bits = parameter_s.split(split, 1)
476 bits = parameter_s.split(split, 1)
General Comments 0
You need to be logged in to leave comments. Login now