##// END OF EJS Templates
Updated manpage and docs to clarify negated options usage. Thanks to Stefan...
fperez -
Show More
@@ -6,7 +6,7 b''
6 6 # the file COPYING, distributed as part of this software.
7 7 #*****************************************************************************
8 8
9 # $Id: usage.py 578 2005-05-13 21:16:51Z fperez $
9 # $Id: usage.py 926 2005-12-01 18:14:21Z fperez $
10 10
11 11 from IPython import Release
12 12 __author__ = '%s <%s>' % Release.authors['Fernando']
@@ -128,8 +128,8 b' REGULAR OPTIONS'
128 128 See the provided examples for assistance. Options given on the comman-
129 129 dline override the values set in the ipythonrc file.
130 130
131 All options with a no| prepended can be specified in ’no’ form (-noop-
132 tion instead of -option) to turn the feature off.
131 All options with a [no] prepended can be specified in negated form
132 (using -nooption instead of -option) to turn the feature off.
133 133
134 134 -h, --help
135 135 Show summary of options.
@@ -144,25 +144,25 b' REGULAR OPTIONS'
144 144 to correctly execute (without blocking) any matplotlib-based
145 145 script which calls show() at the end.
146 146
147 -no|autocall
147 -[no]autocall
148 148 Make IPython automatically call any callable object even if you
149 149 didn’t type explicit parentheses. For example, ’str 43’ becomes
150 150 ’str(43)’ automatically.
151 151
152 -no|autoindent
152 -[no]autoindent
153 153 Turn automatic indentation on/off.
154 154
155 -no|automagic
155 -[no]automagic
156 156 Make magic commands automatic (without needing their first char-
157 157 acter to be @). Type @magic at the IPython prompt for more
158 158 information.
159 159
160 -no|autoparens
160 -[no]autoparens
161 161 Make IPython automatically call any callable object even if you
162 162 didn’t type explicit parentheses. For example, ’str 43’ becomes
163 163 ’str(43)’ automatically.
164 164
165 -no|banner
165 -[no]banner
166 166 Print the intial information banner (default on).
167 167
168 168 -c <command>
@@ -186,7 +186,7 b' REGULAR OPTIONS'
186 186 Color scheme for prompts and exception reporting. Currently
187 187 implemented: NoColor, Linux, and LightBG.
188 188
189 -no|color_info
189 -[no]color_info
190 190 IPython can display information about objects via a set of func-
191 191 tions, and optionally can use colors for this, syntax highlight-
192 192 ing source code and various other elements. However, because
@@ -201,18 +201,18 b' REGULAR OPTIONS'
201 201 The magic function @color_info allows you to toggle this inter-
202 202 actively for testing.
203 203
204 -no|confirm_exit
204 -[no]confirm_exit
205 205 Set to confirm when you try to exit IPython with an EOF (Con-
206 206 trol-D in Unix, Control-Z/Enter in Windows). Note that using the
207 207 magic functions @Exit or @Quit you can force a direct exit,
208 208 bypassing any confirmation.
209 209
210 -no|debug
210 -[no]debug
211 211 Show information about the loading process. Very useful to pin
212 212 down problems with your configuration files or to get details
213 213 about session restores.
214 214
215 -no|deep_reload
215 -[no]deep_reload
216 216 IPython can use the deep_reload module which reloads changes in
217 217 modules recursively (it replaces the reload() function, so you
218 218 don’t need to change anything to use it). deep_reload() forces a
@@ -265,18 +265,18 b' REGULAR OPTIONS'
265 265 retrieving a failed because of inherent limitations of Python’s
266 266 Pickle module, so this may have to wait.
267 267
268 -no|messages
268 -[no]messages
269 269 Print messages which IPython collects about its startup process
270 270 (default on).
271 271
272 -no|pdb
272 -[no]pdb
273 273 Automatically call the pdb debugger after every uncaught excep-
274 274 tion. If you are used to debugging using pdb, this puts you
275 275 automatically inside of it after any call (either in IPython or
276 276 in code called by it) which triggers an exception which goes
277 277 uncaught.
278 278
279 -no|pprint
279 -[no]pprint
280 280 IPython can optionally use the pprint (pretty printer) module
281 281 for displaying results. pprint tends to give a nicer display of
282 282 nested data structures. If you like it, you can turn it on per-
@@ -332,7 +332,7 b' REGULAR OPTIONS'
332 332 IPython starts with a bare bones configuration (no modules
333 333 loaded at all).
334 334
335 -no|readline
335 -[no]readline
336 336 Use the readline library, which is needed to support name com-
337 337 pletion and command history, among other things. It is enabled
338 338 by default, but may cause problems for users of X/Emacs in
@@ -109,29 +109,29 b' See the provided examples for assistance. Options given on the'
109 109 commandline override the values set in the ipythonrc file.
110 110 .br
111 111 .sp 1
112 All options with a no| prepended can be specified in 'no' form
112 All options with a [no] prepended can be specified in negated form
113 113 (\-nooption instead of \-option) to turn the feature off.
114 114 .TP
115 115 .B \-h, \-\-help
116 116 Show summary of options.
117 117 .TP
118 .B \-no|autocall
118 .B \-[no]autocall
119 119 Make IPython automatically call any callable object even if you didn't type
120 120 explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically.
121 121 .TP
122 .B \-no|autoindent
122 .B \-[no]autoindent
123 123 Turn automatic indentation on/off.
124 124 .TP
125 .B \-no|automagic
125 .B \-[no]automagic
126 126 Make magic commands automatic (without needing their first character
127 127 to be @). Type @magic at the IPython prompt for more information.
128 128 .TP
129 .B \-no|autoparens
129 .B \-[no]autoparens
130 130 Make IPython automatically call any callable object even if you didn't
131 131 type explicit parentheses. For example, 'str 43' becomes 'str(43)'
132 132 automatically.
133 133 .TP
134 .B \-no|banner
134 .B \-[no]banner
135 135 Print the intial information banner (default on).
136 136 .TP
137 137 .B \-c <command>
@@ -154,7 +154,7 b' Gives IPython a similar feel to the classic Python prompt.'
154 154 Color scheme for prompts and exception reporting. Currently
155 155 implemented: NoColor, Linux, and LightBG.
156 156 .TP
157 .B \-no|color_info
157 .B \-[no]color_info
158 158 IPython can display information about objects via a set of functions,
159 159 and optionally can use colors for this, syntax highlighting source
160 160 code and various other elements. However, because this information is
@@ -169,18 +169,18 b' Test it and turn it on permanently if it works with your system. The'
169 169 magic function @color_info allows you to toggle this interactively for
170 170 testing.
171 171 .TP
172 .B \-no|confirm_exit
172 .B \-[no]confirm_exit
173 173 Set to confirm when you try to exit IPython with an EOF (Control-D in
174 174 Unix, Control-Z/Enter in Windows). Note that using the magic functions
175 175 @Exit or @Quit you can force a direct exit, bypassing any
176 176 confirmation.
177 177 .TP
178 .B \-no|debug
178 .B \-[no]debug
179 179 Show information about the loading process. Very useful to pin down
180 180 problems with your configuration files or to get details about session
181 181 restores.
182 182 .TP
183 .B \-no|deep_reload
183 .B \-[no]deep_reload
184 184 IPython can use the deep_reload module which reloads changes in
185 185 modules recursively (it replaces the reload() function, so you don't
186 186 need to change anything to use it). deep_reload() forces a full reload
@@ -237,17 +237,17 b' to implement full session saving by writing and retrieving a'
237 237 failed because of inherent limitations of Python's Pickle module, so
238 238 this may have to wait.
239 239 .TP
240 .B \-no|messages
240 .B \-[no]messages
241 241 Print messages which IPython collects about its startup process
242 242 (default on).
243 243 .TP
244 .B \-no|pdb
244 .B \-[no]pdb
245 245 Automatically call the pdb debugger after every uncaught exception. If
246 246 you are used to debugging using pdb, this puts you automatically
247 247 inside of it after any call (either in IPython or in code called by
248 248 it) which triggers an exception which goes uncaught.
249 249 .TP
250 .B \-no|pprint
250 .B \-[no]pprint
251 251 IPython can optionally use the pprint (pretty printer) module for
252 252 displaying results. pprint tends to give a nicer display of nested
253 253 data structures. If you like it, you can turn it on permanently in
@@ -306,7 +306,7 b' loads ipythonrc (from current directory) or IPYTHONDIR/ipythonrc. If'
306 306 the loading of your config file fails, IPython starts with a bare
307 307 bones configuration (no modules loaded at all).
308 308 .TP
309 .B \-no|readline
309 .B \-[no]readline
310 310 Use the readline library, which is needed to support name completion
311 311 and command history, among other things. It is enabled by default, but
312 312 may cause problems for users of X/Emacs in Python comint or shell
@@ -2614,9 +2614,9 b' Most options can also be set from your ipythonrc configuration file.'
2614 2614
2615 2615 All options with a
2616 2616 \family typewriter
2617 no|
2617 [no]
2618 2618 \family default
2619 prepended can be specified in 'no' form (
2619 prepended can be specified in negated form (
2620 2620 \family typewriter
2621 2621 -nooption
2622 2622 \family default
@@ -2689,7 +2689,7 b' show()'
2689 2689
2690 2690 \family typewriter
2691 2691 \series bold
2692 -no|automagic
2692 -[no]automagic
2693 2693 \series default
2694 2694 :
2695 2695 \family default
@@ -2710,7 +2710,7 b' show()'
2710 2710
2711 2711 \family typewriter
2712 2712 \series bold
2713 -no|banner
2713 -[no]banner
2714 2714 \series default
2715 2715 :
2716 2716 \family default
@@ -2782,7 +2782,7 b' show()'
2782 2782
2783 2783 \family typewriter
2784 2784 \series bold
2785 -no|color_info:
2785 -[no]color_info:
2786 2786 \family default
2787 2787 \series default
2788 2788 IPython can display information about objects via a set of functions, and
@@ -2810,7 +2810,7 b' show()'
2810 2810
2811 2811 \family typewriter
2812 2812 \series bold
2813 -no|debug
2813 -[no]debug
2814 2814 \family default
2815 2815 \series default
2816 2816 : Show information about the loading process.
@@ -2822,7 +2822,7 b' show()'
2822 2822
2823 2823 \family typewriter
2824 2824 \series bold
2825 -no|deep_reload
2825 -[no]deep_reload
2826 2826 \series default
2827 2827 :
2828 2828 \family default
@@ -3006,7 +3006,7 b' _dh'
3006 3006
3007 3007 \family typewriter
3008 3008 \series bold
3009 -no|messages
3009 -[no]messages
3010 3010 \series default
3011 3011 :
3012 3012 \family default
@@ -3018,7 +3018,7 b' _dh'
3018 3018
3019 3019 \family typewriter
3020 3020 \series bold
3021 -no|pdb
3021 -[no]pdb
3022 3022 \family default
3023 3023 \series default
3024 3024 : Automatically call the pdb debugger after every uncaught exception.
@@ -3031,7 +3031,7 b' _dh'
3031 3031
3032 3032 \family typewriter
3033 3033 \series bold
3034 -no|pprint
3034 -[no]pprint
3035 3035 \series default
3036 3036 :
3037 3037 \family default
@@ -3251,7 +3251,7 b' Out['
3251 3251
3252 3252 \family typewriter
3253 3253 \series bold
3254 -no|readline
3254 -[no]readline
3255 3255 \family default
3256 3256 \series default
3257 3257 : use the readline library, which is needed to support name completion and
@@ -96,6 +96,9 b' def file_doesnt_endwith(test,endings):'
96 96
97 97 # I can't find how to make distutils create a nested dir. structure, so
98 98 # in the meantime do it manually. Butt ugly.
99 # Note that http://www.redbrick.dcu.ie/~noel/distutils.html, ex. 2/3, contain
100 # information on how to do this more cleanly once python 2.4 can be assumed.
101 # Thanks to Noel for the tip.
99 102 docdirbase = 'share/doc/ipython-%s' % version
100 103 manpagebase = 'share/man/man1'
101 104
General Comments 0
You need to be logged in to leave comments. Login now