ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/_scram
(Generate patch)

Comparing COMP/SCRAM/scripts/_scram (file contents):
Revision 1.1 by sashby, Wed Nov 2 15:36:04 2005 UTC vs.
Revision 1.2 by sashby, Tue Nov 8 13:28:28 2005 UTC

# Line 8 | Line 8 | _scram()
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  
# Line 16 | Line 16 | _scram()
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 }
# Line 39 | Line 39 | _scram_version()
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] )) ||
# Line 147 | Line 147 | _scram_build()
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] )) ||
# Line 224 | Line 225 | _scram_urlget()
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()
# Line 300 | Line 316 | _scram_projects_and_versions()
316   }
317  
318  
319 < ##################################################### Main ####################################################
319 > ################ Main ###################
320   # Run the function with args passed down:
321 < ###############################################################################################################
321 > #########################################
322   _scram "$@"
323  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines