1 |
< |
#compdef scram |
1 |
> |
#compdef scram scramv1 |
2 |
|
# $Id$ |
3 |
|
# |
4 |
|
_scram() |
8 |
|
'-v[version]' \ |
9 |
|
'-d[debug mode]' \ |
10 |
|
'-n[no return]' \ |
11 |
< |
'-arch:supported architectures:(rh73_gcc323 slc3_ia32_gcc323 slc3_ia32_gcc323_dbg osx103_gcc33)' \ |
11 |
> |
'-arch:supported architectures:(slc3_ia32_gcc323 slc3_ia32_gcc323_dbg slc4_ia32_gcc345 slc4_ia32_gcc345_dbg osx104_ia32_gcc40)' \ |
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 gui xmlmigrate) |
19 |
> |
_scram_cmds=(version arch setup runtime build list project tool install remove db config urlget gui) |
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 V1_0_2)' |
42 |
> |
'*::specify a version to download:(V1_0_1 V1_0_2 V1_0_3)' |
43 |
|
} |
44 |
|
|
45 |
|
(( $+functions[_scram_arch] )) || |
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 |
– |
|
238 |
|
############# Auxiliary functions ############## |
239 |
|
|
240 |
|
(( $+functions[_scram_tools_and_versions] )) || |