projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cbe405
)
add usage example from cli; thanks to Christian Clauss from docs@
author
Sandro Tosi
<sandro.tosi@gmail.com>
Sun, 12 Aug 2012 15:34:00 +0000
(17:34 +0200)
committer
Sandro Tosi
<sandro.tosi@gmail.com>
Sun, 12 Aug 2012 15:34:00 +0000
(17:34 +0200)
Doc/library/webbrowser.rst
patch
|
blob
|
history
diff --git
a/Doc/library/webbrowser.rst
b/Doc/library/webbrowser.rst
index b1a8d7374c44f50542d5726b6c90bcd02684e38a..b2dcf8f7f9c782f6b66dcebfdc8207b1a668d1ef 100644
(file)
--- a/
Doc/library/webbrowser.rst
+++ b/
Doc/library/webbrowser.rst
@@
-36,7
+36,9
@@
The script :program:`webbrowser` can be used as a command-line interface for the
module. It accepts an URL as the argument. It accepts the following optional
parameters: ``-n`` opens the URL in a new browser window, if possible;
``-t`` opens the URL in a new browser page ("tab"). The options are,
-naturally, mutually exclusive.
+naturally, mutually exclusive. Usage example::
+
+ python -m webbrowser -t "http://www.python.org"
The following exception is defined: