home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / python / pytexdoc / ext / lib / lib1 / getopt / tex
LaTeX Document  |  1996-11-08  |  2.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 53 74 61 6e 64 61 72 |\section|{Standar|
|00000010| 64 20 4d 6f 64 75 6c 65 | 20 5c 73 65 63 74 63 6f |d Module| \sectco|
|00000020| 64 65 7b 67 65 74 6f 70 | 74 7d 7d 0a 0a 5c 73 74 |de{getop|t}}..\st|
|00000030| 6d 6f 64 69 6e 64 65 78 | 7b 67 65 74 6f 70 74 7d |modindex|{getopt}|
|00000040| 0a 54 68 69 73 20 6d 6f | 64 75 6c 65 20 68 65 6c |.This mo|dule hel|
|00000050| 70 73 20 73 63 72 69 70 | 74 73 20 74 6f 20 70 61 |ps scrip|ts to pa|
|00000060| 72 73 65 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |rse the |command |
|00000070| 6c 69 6e 65 20 61 72 67 | 75 6d 65 6e 74 73 20 69 |line arg|uments i|
|00000080| 6e 0a 5c 63 6f 64 65 7b | 73 79 73 2e 61 72 67 76 |n.\code{|sys.argv|
|00000090| 7d 2e 0a 49 74 20 73 75 | 70 70 6f 72 74 73 20 74 |}..It su|pports t|
|000000a0| 68 65 20 73 61 6d 65 20 | 63 6f 6e 76 65 6e 74 69 |he same |conventi|
|000000b0| 6f 6e 73 20 61 73 20 74 | 68 65 20 5c 55 4e 49 58 |ons as t|he \UNIX|
|000000c0| 7b 7d 0a 5c 63 6f 64 65 | 7b 67 65 74 6f 70 74 28 |{}.\code|{getopt(|
|000000d0| 29 7d 0a 66 75 6e 63 74 | 69 6f 6e 20 28 69 6e 63 |)}.funct|ion (inc|
|000000e0| 6c 75 64 69 6e 67 20 74 | 68 65 20 73 70 65 63 69 |luding t|he speci|
|000000f0| 61 6c 20 6d 65 61 6e 69 | 6e 67 73 20 6f 66 20 61 |al meani|ngs of a|
|00000100| 72 67 75 6d 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |rguments| of the |
|00000110| 66 6f 72 6d 0a 5c 73 61 | 6d 70 7b 2d 7d 20 61 6e |form.\sa|mp{-} an|
|00000120| 64 20 5c 73 61 6d 70 7b | 2d 2d 7d 29 2e 20 20 4c |d \samp{|--}). L|
|00000130| 6f 6e 67 20 6f 70 74 69 | 6f 6e 73 20 73 69 6d 69 |ong opti|ons simi|
|00000140| 6c 61 72 20 74 6f 20 74 | 68 6f 73 65 20 73 75 70 |lar to t|hose sup|
|00000150| 70 6f 72 74 65 64 20 62 | 79 0a 47 4e 55 20 73 6f |ported b|y.GNU so|
|00000160| 66 74 77 61 72 65 20 6d | 61 79 20 62 65 20 75 73 |ftware m|ay be us|
|00000170| 65 64 20 61 73 20 77 65 | 6c 6c 20 76 69 61 20 61 |ed as we|ll via a|
|00000180| 6e 20 6f 70 74 69 6f 6e | 61 6c 20 74 68 69 72 64 |n option|al third|
|00000190| 20 61 72 67 75 6d 65 6e | 74 2e 0a 49 74 20 64 65 | argumen|t..It de|
|000001a0| 66 69 6e 65 73 20 74 68 | 65 20 66 75 6e 63 74 69 |fines th|e functi|
|000001b0| 6f 6e 0a 5c 63 6f 64 65 | 7b 67 65 74 6f 70 74 2e |on.\code|{getopt.|
|000001c0| 67 65 74 6f 70 74 28 61 | 72 67 73 2c 20 6f 70 74 |getopt(a|rgs, opt|
|000001d0| 69 6f 6e 73 20 5b 2c 20 | 6c 6f 6e 67 5f 6f 70 74 |ions [, |long_opt|
|000001e0| 69 6f 6e 73 5d 29 7d 0a | 61 6e 64 20 74 68 65 20 |ions])}.|and the |
|000001f0| 65 78 63 65 70 74 69 6f | 6e 0a 5c 63 6f 64 65 7b |exceptio|n.\code{|
|00000200| 67 65 74 6f 70 74 2e 65 | 72 72 6f 72 7d 2e 0a 0a |getopt.e|rror}...|
|00000210| 54 68 65 20 66 69 72 73 | 74 20 61 72 67 75 6d 65 |The firs|t argume|
|00000220| 6e 74 20 74 6f 0a 5c 63 | 6f 64 65 7b 67 65 74 6f |nt to.\c|ode{geto|
|00000230| 70 74 28 29 7d 0a 69 73 | 20 74 68 65 20 61 72 67 |pt()}.is| the arg|
|00000240| 75 6d 65 6e 74 20 6c 69 | 73 74 20 70 61 73 73 65 |ument li|st passe|
|00000250| 64 20 74 6f 20 74 68 65 | 20 73 63 72 69 70 74 20 |d to the| script |
|00000260| 77 69 74 68 20 69 74 73 | 20 66 69 72 73 74 20 65 |with its| first e|
|00000270| 6c 65 6d 65 6e 74 0a 63 | 68 6f 70 70 65 64 20 6f |lement.c|hopped o|
|00000280| 66 66 20 28 69 2e 65 2e | 2c 0a 5c 63 6f 64 65 7b |ff (i.e.|,.\code{|
|00000290| 73 79 73 2e 61 72 67 76 | 5b 31 3a 5d 7d 29 2e 0a |sys.argv|[1:]})..|
|000002a0| 54 68 65 20 73 65 63 6f | 6e 64 20 61 72 67 75 6d |The seco|nd argum|
|000002b0| 65 6e 74 20 69 73 20 74 | 68 65 20 73 74 72 69 6e |ent is t|he strin|
|000002c0| 67 20 6f 66 20 6f 70 74 | 69 6f 6e 20 6c 65 74 74 |g of opt|ion lett|
|000002d0| 65 72 73 20 74 68 61 74 | 20 74 68 65 0a 73 63 72 |ers that| the.scr|
|000002e0| 69 70 74 20 77 61 6e 74 | 73 20 74 6f 20 72 65 63 |ipt want|s to rec|
|000002f0| 6f 67 6e 69 7a 65 2c 20 | 77 69 74 68 20 6f 70 74 |ognize, |with opt|
|00000300| 69 6f 6e 73 20 74 68 61 | 74 20 72 65 71 75 69 72 |ions tha|t requir|
|00000310| 65 20 61 6e 20 61 72 67 | 75 6d 65 6e 74 0a 66 6f |e an arg|ument.fo|
|00000320| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 63 6f 6c 6f |llowed b|y a colo|
|00000330| 6e 20 28 69 2e 65 2e 2c | 20 74 68 65 20 73 61 6d |n (i.e.,| the sam|
|00000340| 65 20 66 6f 72 6d 61 74 | 20 74 68 61 74 20 5c 55 |e format| that \U|
|00000350| 4e 49 58 7b 7d 0a 5c 63 | 6f 64 65 7b 67 65 74 6f |NIX{}.\c|ode{geto|
|00000360| 70 74 28 29 7d 0a 75 73 | 65 73 29 2e 0a 54 68 65 |pt()}.us|es)..The|
|00000370| 20 74 68 69 72 64 20 6f | 70 74 69 6f 6e 2c 20 69 | third o|ption, i|
|00000380| 66 20 73 70 65 63 69 66 | 69 65 64 2c 20 69 73 20 |f specif|ied, is |
|00000390| 61 20 6c 69 73 74 20 6f | 66 20 73 74 72 69 6e 67 |a list o|f string|
|000003a0| 73 20 77 69 74 68 20 74 | 68 65 20 6e 61 6d 65 73 |s with t|he names|
|000003b0| 20 6f 66 0a 74 68 65 20 | 6c 6f 6e 67 20 6f 70 74 | of.the |long opt|
|000003c0| 69 6f 6e 73 20 77 68 69 | 63 68 20 73 68 6f 75 6c |ions whi|ch shoul|
|000003d0| 64 20 62 65 20 73 75 70 | 70 6f 72 74 65 64 2e 20 |d be sup|ported. |
|000003e0| 20 54 68 65 20 6c 65 61 | 64 69 6e 67 20 5c 63 6f | The lea|ding \co|
|000003f0| 64 65 7b 27 2d 2d 27 7d | 0a 63 68 61 72 61 63 74 |de{'--'}|.charact|
|00000400| 65 72 73 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 62 |ers shou|ld not b|
|00000410| 65 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |e includ|ed in th|
|00000420| 65 20 6f 70 74 69 6f 6e | 20 6e 61 6d 65 2e 20 20 |e option| name. |
|00000430| 4f 70 74 69 6f 6e 73 20 | 77 68 69 63 68 0a 72 65 |Options |which.re|
|00000440| 71 75 69 72 65 20 61 6e | 20 61 72 67 75 6d 65 6e |quire an| argumen|
|00000450| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 66 6f 6c 6c |t should| be foll|
|00000460| 6f 77 65 64 20 62 79 20 | 61 6e 20 65 71 75 61 6c |owed by |an equal|
|00000470| 20 73 69 67 6e 20 28 5c | 63 6f 64 65 7b 27 3d 27 | sign (\|code{'='|
|00000480| 7d 29 2e 0a 54 68 65 20 | 72 65 74 75 72 6e 20 76 |})..The |return v|
|00000490| 61 6c 75 65 20 63 6f 6e | 73 69 73 74 73 20 6f 66 |alue con|sists of|
|000004a0| 20 74 77 6f 20 65 6c 65 | 6d 65 6e 74 73 3a 20 74 | two ele|ments: t|
|000004b0| 68 65 20 66 69 72 73 74 | 20 69 73 20 61 20 6c 69 |he first| is a li|
|000004c0| 73 74 20 6f 66 0a 6f 70 | 74 69 6f 6e 2d 61 6e 64 |st of.op|tion-and|
|000004d0| 2d 76 61 6c 75 65 20 70 | 61 69 72 73 3b 20 74 68 |-value p|airs; th|
|000004e0| 65 20 73 65 63 6f 6e 64 | 20 69 73 20 74 68 65 20 |e second| is the |
|000004f0| 6c 69 73 74 20 6f 66 20 | 70 72 6f 67 72 61 6d 20 |list of |program |
|00000500| 61 72 67 75 6d 65 6e 74 | 73 0a 6c 65 66 74 20 61 |argument|s.left a|
|00000510| 66 74 65 72 20 74 68 65 | 20 6f 70 74 69 6f 6e 20 |fter the| option |
|00000520| 6c 69 73 74 20 77 61 73 | 20 73 74 72 69 70 70 65 |list was| strippe|
|00000530| 64 20 28 74 68 69 73 20 | 69 73 20 61 20 74 72 61 |d (this |is a tra|
|00000540| 69 6c 69 6e 67 20 73 6c | 69 63 65 20 6f 66 20 74 |iling sl|ice of t|
|00000550| 68 65 0a 66 69 72 73 74 | 20 61 72 67 75 6d 65 6e |he.first| argumen|
|00000560| 74 29 2e 0a 45 61 63 68 | 20 6f 70 74 69 6f 6e 2d |t)..Each| option-|
|00000570| 61 6e 64 2d 76 61 6c 75 | 65 20 70 61 69 72 20 72 |and-valu|e pair r|
|00000580| 65 74 75 72 6e 65 64 20 | 68 61 73 20 74 68 65 20 |eturned |has the |
|00000590| 6f 70 74 69 6f 6e 20 61 | 73 20 69 74 73 20 66 69 |option a|s its fi|
|000005a0| 72 73 74 20 65 6c 65 6d | 65 6e 74 2c 0a 70 72 65 |rst elem|ent,.pre|
|000005b0| 66 69 78 65 64 20 77 69 | 74 68 20 61 20 68 79 70 |fixed wi|th a hyp|
|000005c0| 68 65 6e 20 28 65 2e 67 | 2e 2c 0a 5c 63 6f 64 65 |hen (e.g|.,.\code|
|000005d0| 7b 27 2d 78 27 7d 29 2c | 0a 61 6e 64 20 74 68 65 |{'-x'}),|.and the|
|000005e0| 20 6f 70 74 69 6f 6e 20 | 61 72 67 75 6d 65 6e 74 | option |argument|
|000005f0| 20 61 73 20 69 74 73 20 | 73 65 63 6f 6e 64 20 65 | as its |second e|
|00000600| 6c 65 6d 65 6e 74 2c 20 | 6f 72 20 61 6e 20 65 6d |lement, |or an em|
|00000610| 70 74 79 20 73 74 72 69 | 6e 67 20 69 66 20 74 68 |pty stri|ng if th|
|00000620| 65 0a 6f 70 74 69 6f 6e | 20 68 61 73 20 6e 6f 20 |e.option| has no |
|00000630| 61 72 67 75 6d 65 6e 74 | 2e 0a 54 68 65 20 6f 70 |argument|..The op|
|00000640| 74 69 6f 6e 73 20 6f 63 | 63 75 72 20 69 6e 20 74 |tions oc|cur in t|
|00000650| 68 65 20 6c 69 73 74 20 | 69 6e 20 74 68 65 20 73 |he list |in the s|
|00000660| 61 6d 65 20 6f 72 64 65 | 72 20 69 6e 20 77 68 69 |ame orde|r in whi|
|00000670| 63 68 20 74 68 65 79 20 | 77 65 72 65 0a 66 6f 75 |ch they |were.fou|
|00000680| 6e 64 2c 20 74 68 75 73 | 20 61 6c 6c 6f 77 69 6e |nd, thus| allowin|
|00000690| 67 20 6d 75 6c 74 69 70 | 6c 65 20 6f 63 63 75 72 |g multip|le occur|
|000006a0| 72 65 6e 63 65 73 2e 20 | 20 4c 6f 6e 67 20 61 6e |rences. | Long an|
|000006b0| 64 20 73 68 6f 72 74 20 | 6f 70 74 69 6f 6e 73 20 |d short |options |
|000006c0| 6d 61 79 0a 62 65 20 6d | 69 78 65 64 2e 0a 0a 41 |may.be m|ixed...A|
|000006d0| 6e 20 65 78 61 6d 70 6c | 65 20 75 73 69 6e 67 20 |n exampl|e using |
|000006e0| 6f 6e 6c 79 20 5c 55 4e | 49 58 7b 7d 20 73 74 79 |only \UN|IX{} sty|
|000006f0| 6c 65 20 6f 70 74 69 6f | 6e 73 3a 0a 0a 5c 62 63 |le optio|ns:..\bc|
|00000700| 6f 64 65 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |ode\begi|n{verbat|
|00000710| 69 6d 7d 0a 3e 3e 3e 20 | 69 6d 70 6f 72 74 20 67 |im}.>>> |import g|
|00000720| 65 74 6f 70 74 2c 20 73 | 74 72 69 6e 67 0a 3e 3e |etopt, s|tring.>>|
|00000730| 3e 20 61 72 67 73 20 3d | 20 73 74 72 69 6e 67 2e |> args =| string.|
|00000740| 73 70 6c 69 74 28 27 2d | 61 20 2d 62 20 2d 63 66 |split('-|a -b -cf|
|00000750| 6f 6f 20 2d 64 20 62 61 | 72 20 61 31 20 61 32 27 |oo -d ba|r a1 a2'|
|00000760| 29 0a 3e 3e 3e 20 61 72 | 67 73 0a 5b 27 2d 61 27 |).>>> ar|gs.['-a'|
|00000770| 2c 20 27 2d 62 27 2c 20 | 27 2d 63 66 6f 6f 27 2c |, '-b', |'-cfoo',|
|00000780| 20 27 2d 64 27 2c 20 27 | 62 61 72 27 2c 20 27 61 | '-d', '|bar', 'a|
|00000790| 31 27 2c 20 27 61 32 27 | 5d 0a 3e 3e 3e 20 6f 70 |1', 'a2'|].>>> op|
|000007a0| 74 6c 69 73 74 2c 20 61 | 72 67 73 20 3d 20 67 65 |tlist, a|rgs = ge|
|000007b0| 74 6f 70 74 2e 67 65 74 | 6f 70 74 28 61 72 67 73 |topt.get|opt(args|
|000007c0| 2c 20 27 61 62 63 3a 64 | 3a 27 29 0a 3e 3e 3e 20 |, 'abc:d|:').>>> |
|000007d0| 6f 70 74 6c 69 73 74 0a | 5b 28 27 2d 61 27 2c 20 |optlist.|[('-a', |
|000007e0| 27 27 29 2c 20 28 27 2d | 62 27 2c 20 27 27 29 2c |''), ('-|b', ''),|
|000007f0| 20 28 27 2d 63 27 2c 20 | 27 66 6f 6f 27 29 2c 20 | ('-c', |'foo'), |
|00000800| 28 27 2d 64 27 2c 20 27 | 62 61 72 27 29 5d 0a 3e |('-d', '|bar')].>|
|00000810| 3e 3e 20 61 72 67 73 0a | 5b 27 61 31 27 2c 20 27 |>> args.|['a1', '|
|00000820| 61 32 27 5d 0a 3e 3e 3e | 20 0a 5c 65 6e 64 7b 76 |a2'].>>>| .\end{v|
|00000830| 65 72 62 61 74 69 6d 7d | 5c 65 63 6f 64 65 0a 0a |erbatim}|\ecode..|
|00000840| 55 73 69 6e 67 20 6c 6f | 6e 67 20 6f 70 74 69 6f |Using lo|ng optio|
|00000850| 6e 20 6e 61 6d 65 73 20 | 69 73 20 65 71 75 61 6c |n names |is equal|
|00000860| 6c 79 20 65 61 73 79 3a | 0a 0a 5c 62 63 6f 64 65 |ly easy:|..\bcode|
|00000870| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00000880| 0a 3e 3e 3e 20 73 20 3d | 20 27 2d 2d 63 6f 6e 64 |.>>> s =| '--cond|
|00000890| 69 74 69 6f 6e 3d 66 6f | 6f 20 2d 2d 74 65 73 74 |ition=fo|o --test|
|000008a0| 69 6e 67 20 2d 2d 6f 75 | 74 70 75 74 2d 66 69 6c |ing --ou|tput-fil|
|000008b0| 65 20 61 62 63 2e 64 65 | 66 20 2d 78 20 61 31 20 |e abc.de|f -x a1 |
|000008c0| 61 32 27 0a 3e 3e 3e 20 | 61 72 67 73 20 3d 20 73 |a2'.>>> |args = s|
|000008d0| 74 72 69 6e 67 2e 73 70 | 6c 69 74 28 73 29 0a 3e |tring.sp|lit(s).>|
|000008e0| 3e 3e 20 61 72 67 73 0a | 5b 27 2d 2d 63 6f 6e 64 |>> args.|['--cond|
|000008f0| 69 74 69 6f 6e 3d 66 6f | 6f 27 2c 20 27 2d 2d 74 |ition=fo|o', '--t|
|00000900| 65 73 74 69 6e 67 27 2c | 20 27 2d 2d 6f 75 74 70 |esting',| '--outp|
|00000910| 75 74 2d 66 69 6c 65 27 | 2c 20 27 61 62 63 2e 64 |ut-file'|, 'abc.d|
|00000920| 65 66 27 2c 20 27 2d 78 | 27 2c 20 27 61 31 27 2c |ef', '-x|', 'a1',|
|00000930| 20 27 61 32 27 5d 0a 3e | 3e 3e 20 6f 70 74 6c 69 | 'a2'].>|>> optli|
|00000940| 73 74 2c 20 61 72 67 73 | 20 3d 20 67 65 74 6f 70 |st, args| = getop|
|00000950| 74 2e 67 65 74 6f 70 74 | 28 61 72 67 73 2c 20 27 |t.getopt|(args, '|
|00000960| 78 27 2c 20 5b 0a 2e 2e | 2e 20 20 20 20 20 27 63 |x', [...|. 'c|
|00000970| 6f 6e 64 69 74 69 6f 6e | 3d 27 2c 20 27 6f 75 74 |ondition|=', 'out|
|00000980| 70 75 74 2d 66 69 6c 65 | 3d 27 2c 20 27 74 65 73 |put-file|=', 'tes|
|00000990| 74 69 6e 67 27 5d 29 0a | 3e 3e 3e 20 6f 70 74 6c |ting']).|>>> optl|
|000009a0| 69 73 74 0a 5b 28 27 2d | 2d 63 6f 6e 64 69 74 69 |ist.[('-|-conditi|
|000009b0| 6f 6e 27 2c 20 27 66 6f | 6f 27 29 2c 20 28 27 2d |on', 'fo|o'), ('-|
|000009c0| 2d 74 65 73 74 69 6e 67 | 27 2c 20 27 27 29 2c 20 |-testing|', ''), |
|000009d0| 28 27 2d 2d 6f 75 74 70 | 75 74 2d 66 69 6c 65 27 |('--outp|ut-file'|
|000009e0| 2c 20 27 61 62 63 2e 64 | 65 66 27 29 2c 20 28 27 |, 'abc.d|ef'), ('|
|000009f0| 2d 78 27 2c 20 27 27 29 | 5d 0a 3e 3e 3e 20 61 72 |-x', '')|].>>> ar|
|00000a00| 67 73 0a 5b 27 61 31 27 | 2c 20 27 61 32 27 5d 0a |gs.['a1'|, 'a2'].|
|00000a10| 3e 3e 3e 20 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |>>> .\en|d{verbat|
|00000a20| 69 6d 7d 5c 65 63 6f 64 | 65 0a 0a 54 68 65 20 65 |im}\ecod|e..The e|
|00000a30| 78 63 65 70 74 69 6f 6e | 0a 5c 63 6f 64 65 7b 67 |xception|.\code{g|
|00000a40| 65 74 6f 70 74 2e 65 72 | 72 6f 72 20 3d 20 27 67 |etopt.er|ror = 'g|
|00000a50| 65 74 6f 70 74 2e 65 72 | 72 6f 72 27 7d 0a 69 73 |etopt.er|ror'}.is|
|00000a60| 20 72 61 69 73 65 64 20 | 77 68 65 6e 20 61 6e 20 | raised |when an |
|00000a70| 75 6e 72 65 63 6f 67 6e | 69 7a 65 64 20 6f 70 74 |unrecogn|ized opt|
|00000a80| 69 6f 6e 20 69 73 20 66 | 6f 75 6e 64 20 69 6e 20 |ion is f|ound in |
|00000a90| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 20 6c 69 73 |the argu|ment lis|
|00000aa0| 74 20 6f 72 0a 77 68 65 | 6e 20 61 6e 20 6f 70 74 |t or.whe|n an opt|
|00000ab0| 69 6f 6e 20 72 65 71 75 | 69 72 69 6e 67 20 61 6e |ion requ|iring an|
|00000ac0| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 67 69 76 | argumen|t is giv|
|00000ad0| 65 6e 20 6e 6f 6e 65 2e | 0a 54 68 65 20 61 72 67 |en none.|.The arg|
|00000ae0| 75 6d 65 6e 74 20 74 6f | 20 74 68 65 20 65 78 63 |ument to| the exc|
|00000af0| 65 70 74 69 6f 6e 20 69 | 73 20 61 20 73 74 72 69 |eption i|s a stri|
|00000b00| 6e 67 20 69 6e 64 69 63 | 61 74 69 6e 67 20 74 68 |ng indic|ating th|
|00000b10| 65 20 63 61 75 73 65 20 | 6f 66 20 74 68 65 0a 65 |e cause |of the.e|
|00000b20| 72 72 6f 72 2e 20 20 46 | 6f 72 20 6c 6f 6e 67 20 |rror. F|or long |
|00000b30| 6f 70 74 69 6f 6e 73 2c | 20 61 6e 20 61 72 67 75 |options,| an argu|
|00000b40| 6d 65 6e 74 20 67 69 76 | 65 6e 20 74 6f 20 61 6e |ment giv|en to an|
|00000b50| 20 6f 70 74 69 6f 6e 20 | 77 68 69 63 68 20 64 6f | option |which do|
|00000b60| 65 73 0a 6e 6f 74 20 72 | 65 71 75 69 72 65 20 6f |es.not r|equire o|
|00000b70| 6e 65 20 77 69 6c 6c 20 | 61 6c 73 6f 20 63 61 75 |ne will |also cau|
|00000b80| 73 65 20 74 68 69 73 20 | 65 78 63 65 70 74 69 6f |se this |exceptio|
|00000b90| 6e 20 74 6f 20 62 65 20 | 72 61 69 73 65 64 2e 0a |n to be |raised..|
+--------+-------------------------+-------------------------+--------+--------+