Changeset 28073 for other-projects
- Timestamp:
- 2013-08-16T12:15:18+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/gen-model-colls.sh
r28070 r28073 333 333 334 334 echo "*******************************************" 335 echo "Usage: $0 [--svnupdate|--svndelete] [ col1, col2, col3,...]";335 echo "Usage: $0 [--svnupdate|--svndelete] [--debug] [--message 'custom commit message'] [col1, col2, col3,...]"; 336 336 echo "If no collections are provided, all collections will be processed."; 337 337 echo "If neither svnupdate nor svndelete are provided, svnupdate is assumed."; … … 346 346 # http://blog.onetechnical.com/2012/07/16/bash-getopt-versus-getopts/ 347 347 # Execute getopt 348 ARGS=$(getopt -o m:uxd -l "message:,svnupdate,svndelete,debug" -n "$0" -- "$@");348 ARGS=$(getopt -o m:uxdh -l "message:,svnupdate,svndelete,debug,help" -n "$0" -- "$@"); 349 349 350 350 #Bad arguments … … 360 360 while true; do 361 361 case "$1" in 362 -h|--help) 363 shift; 364 usage 365 exit 0 366 ;; 362 367 -x|--svndelete) 363 368 shift;
Note:
See TracChangeset
for help on using the changeset viewer.