From bdc848950dcfa9fff2d875e2b200e82c63cabfab Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Wed, 27 Jan 2016 22:18:19 -0800 Subject: [PATCH] update documentation for Waf shell command syntax --- doc/manual/source/python.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual/source/python.rst b/doc/manual/source/python.rst index 736f37dde..3add1ca70 100644 --- a/doc/manual/source/python.rst +++ b/doc/manual/source/python.rst @@ -77,7 +77,7 @@ waf contains some options that automatically update the python path to find the .. sourcecode:: bash - $ ./waf --shell + $ ./waf shell $ python examples/wireless/mixed-wireless.py and the other is to use the --pyrun option to waf: @@ -90,14 +90,14 @@ To run a python script under the C debugger: .. sourcecode:: bash - $ ./waf --shell + $ ./waf shell $ gdb --args python examples/wireless/mixed-wireless.py To run your own Python script that calls |ns3| and that has this path, ``/path/to/your/example/my-script.py``, do the following: .. sourcecode:: bash - $ ./waf --shell + $ ./waf shell $ python /path/to/your/example/my-script.py Caveats