(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _curl body: (command.BraceGroup children: [ (C {<local>} {<cur>} {<prev>} {<words>} {<cword>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<_init_completion>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [ {<--ciphers>} {<--connect-timeout>} {<-C>} {<--continue-at>} {<-F>} {<--form>} {<--form-string>} {<--ftp-account>} {<--ftp-alternative-to-user>} {<-P>} {<--ftp-port>} {<-H>} {<--header>} {<-h>} {<--help>} {<--hostpubmd5>} {<--keepalive-time>} {<--krb>} {<--limit-rate>} {<--local-port>} {<--mail-from>} {<--mail-rcpt>} {<--max-filesize>} {<--max-redirs>} {<-m>} {<--max-time>} {<--pass>} {<--proto>} {<--proto-redir>} {<--proxy-user>} {<--proxy1.0>} {<-Q>} {<--quote>} {<-r>} {<--range>} {<-X>} {<--request>} {<--retry>} {<--retry-delay>} {<--retry-max-time>} {<--socks5-gssapi-service>} {<-t>} {<--telnet-option>} {<--tftp-blksize>} {<-z>} {<--time-cond>} {<--url>} {<-u>} {<--user>} {<-A>} {<--user-agent>} {<-V>} {<--version>} {<-w>} {<--write-out>} {<--resolve>} {<--tlsuser>} {<--tlspassword>} ] action: [(command.ControlFlow token:<Id.ControlFlow_Return return>)] spids: [37 168 174 -1] ) (case_arm pat_list: [ {<-K>} {<--config>} {<-b>} {<--cookie>} {<-c>} {<--cookie-jar>} {<-D>} {<--dump-header>} {<--egd-file>} {<--key>} {<--libcurl>} {<-o>} {<--output>} {<--random-file>} {<-T>} {<--upload-file>} {<--trace>} {<--trace-ascii>} {<--netrc-file>} ] action: [(C {<_filedir>}) (command.ControlFlow token:<Id.ControlFlow_Return return>)] spids: [177 218 227 -1] ) (case_arm pat_list: [{<--cacert>} {<-E>} {<--cert>}] action: [ (C {<_filedir>} {(SQ <'@(c?(e)rt|cer|pem|der)'>)}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [230 235 248 -1] ) (case_arm pat_list: [{<--capath>}] action: [ (C {<_filedir>} {<-d>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [251 252 263 -1] ) (case_arm pat_list: [{<--cert-type>} {<--key-type>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'DER PEM ENG'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [272] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [266 269 299 -1] ) (case_arm pat_list: [{<--crlfile>}] action: [ (C {<_filedir>} {<crl>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [302 303 314 -1] ) (case_arm pat_list: [{<-d>} {<--data>} {<--data-ascii>} {<--data-binary>} {<--data-urlencode>}] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$cur')} right: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\@'>) <Id.Lit_Other '*'> } ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cur) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name cur> suffix_op: (suffix_op.Slice begin: (arith_expr.ArithWord w:{<Id.Lit_Digits 1>}) ) ) } spids: [346] ) ] ) (C {<_filedir>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (DQ (braced_var_sub token: <Id.VSub_Name COMPREPLY> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) suffix_op: (suffix_op.PatSub pat: {} replace: {<'@'>} replace_mode: Id.Lit_Pound ) ) ) } ] ) } spids: [357] ) ] ) ] spids: [329 343] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [317 326 382 -1] ) (case_arm pat_list: [{<--delegation>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'none policy always'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [389] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [385 386 416 -1] ) (case_arm pat_list: [{<--engine>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <list>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [423] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [419 420 450 -1] ) (case_arm pat_list: [{<--ftp-method>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'multicwd nocwd singlecwd'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [457] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [453 454 484 -1] ) (case_arm pat_list: [{<--ftp-ssl-ccc-mode>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'active passive'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [491] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [487 488 518 -1] ) (case_arm pat_list: [{<--interface>}] action: [ (C {<_available_interfaces>} {<-a>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [521 522 533 -1] ) (case_arm pat_list: [ {<-x>} {<--proxy>} {<--socks4>} {<--socks4a>} {<--socks5>} {<--socks5-hostname>} ] action: [ (C {<_known_hosts_real>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [536 547 556 -1] ) (case_arm pat_list: [{<--pubkey>}] action: [ (C {<_filedir>} {<pub>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [559 560 571 -1] ) (case_arm pat_list: [{<--stderr>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <->)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [578] ) ] ) (C {<_filedir>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [574 575 608 -1] ) (case_arm pat_list: [{<--tlsauthtype>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <SRP>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [615] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [611 612 642 -1] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$cur')} right: {<-> <Id.Lit_Other '*'>} ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'$( _parse_help "$1" )'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [666] ) ] ) ] spids: [649 663] ) ] ) ] ) ) (C {<complete>} {<-F>} {<_curl>} {<curl>}) ] )