8 |
|
'-v[version]' \ |
9 |
|
'-d[debug mode]' \ |
10 |
|
'-n[no return]' \ |
11 |
< |
'-arch:supported architectures:(rh73_gcc323 slc3_ia32_gcc323)' \ |
11 |
> |
'-arch:supported architectures:(rh73_gcc323 slc3_ia32_gcc323 slc3_ia32_gcc323_dbg osx103_gcc33)' \ |
12 |
|
'*::scram command:_scram_command' |
13 |
|
} |
14 |
|
|
16 |
|
_scram_command () |
17 |
|
{ |
18 |
|
local _scram_cmds |
19 |
< |
_scram_cmds=(version arch setup runtime build list project tool install remove db config urlget) |
19 |
> |
_scram_cmds=(version arch setup runtime build list project tool install remove db config urlget gui xmlmigrate) |
20 |
|
|
21 |
|
if (( CURRENT == 1 )); then |
22 |
|
_tags _scram_cmds && { compadd "$@" -a _scram_cmds } |
39 |
|
'-h[show help for the version command]:print help for this command' \ |
40 |
|
'-c[show CVS parameters for SCRAM downloads]' \ |
41 |
|
'-i[show CVS commit information]' \ |
42 |
< |
'*::specify a version to download:(V1_0_0 V1_0_1)' |
42 |
> |
'*::specify a version to download:(V1_0_0 V1_0_1 V1_0_2)' |
43 |
|
} |
44 |
|
|
45 |
|
(( $+functions[_scram_arch] )) || |
147 |
|
'-f[skip cache scan]' \ |
148 |
|
'-t[dry run]' \ |
149 |
|
'-w-[graphing mode type]:graphing mode:_scram_graphing' \ |
150 |
+ |
'--xmlb[Read XML BuildFiles]' \ |
151 |
|
"$makeopts[@]" \ |
152 |
< |
'*::targets:(shared module python bin app)' |
152 |
> |
'*::targets:(release release-build shared bin test)' |
153 |
|
} |
154 |
|
|
155 |
|
(( $+functions[_scram_list] )) || |
225 |
|
'*::specify a scram document URL:( http:// file: cvs:// )' |
226 |
|
} |
227 |
|
|
228 |
+ |
(( $+functions[_scram_gui] )) || |
229 |
+ |
_scram_gui() |
230 |
+ |
{ |
231 |
+ |
_arguments -s \ |
232 |
+ |
'-h[show help for the gui command]:print help for this command' \ |
233 |
+ |
'-e[edit metadata]' \ |
234 |
+ |
'-s[show metadata information]' \ |
235 |
+ |
'*::metadata type:(tool compiler)' |
236 |
+ |
} |
237 |
|
|
238 |
+ |
(( $+functions[_scram_xmlmigrate] )) || |
239 |
+ |
_scram_xmlmigrate() |
240 |
+ |
{ |
241 |
+ |
_arguments -s \ |
242 |
+ |
'-h[show help for the xmlmigrate command]:print help for this command' |
243 |
+ |
} |
244 |
|
|
245 |
< |
############################## Auxiliary functions ########################################## |
245 |
> |
############# Auxiliary functions ############## |
246 |
|
|
247 |
|
(( $+functions[_scram_tools_and_versions] )) || |
248 |
|
_scram_tools_and_versions() |
316 |
|
} |
317 |
|
|
318 |
|
|
319 |
< |
##################################################### Main #################################################### |
319 |
> |
################ Main ################### |
320 |
|
# Run the function with args passed down: |
321 |
< |
############################################################################################################### |
321 |
> |
######################################### |
322 |
|
_scram "$@" |
323 |
|
|