Lines Matching refs:option
84 my $option = '';
94 $option .= "complete --command curl";
95 $option .= " --short-option '" . strip_dash(trim($short)) . "'"
97 $option .= " --long-option '" . strip_dash(trim($long)) . "'"
99 $option .= " --description '" . strip_dash(trim($desc)) . "'"
102 $option .= '{' . trim($short) . ',' if defined $short;
103 $option .= trim($long) if defined $long;
104 $option .= '}' if defined $short;
105 $option .= '\'[' . trim($desc) . ']\'' if defined $desc;
108 $option .= ":'$arg'";
110 $option .= ':_files';
112 $option .= ":'_path_files -/'";
114 $option .= ':_urls';
116 $option .= ":'(multicwd nocwd singlecwd)'";
118 $option .= ":'(DELETE GET HEAD POST PUT)'";
123 push @list, $option;