--- a/CmdLineParser.st Fri Jan 13 11:58:08 2012 +0100
+++ b/CmdLineParser.st Fri Jan 13 11:58:19 2012 +0100
@@ -1,27 +1,13 @@
"
- COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
+ COPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the 'Software'), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice. This software may not
+ be provided or otherwise made available to, or used by, any
+ other person. No title to or ownership of the software is
+ hereby transferred.
"
"{ Package: 'stx:libbasic' }"
@@ -36,29 +22,15 @@
copyright
"
- COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
+ COPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the 'Software'), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice. This software may not
+ be provided or otherwise made available to, or used by, any
+ other person. No title to or ownership of the software is
+ hereby transferred.
"
! !
@@ -131,11 +103,10 @@
collectOptionsFrom: anObject
- options := anObject class allSelectors
- select:[:sel|sel startsWith: 'cmdlineOption']
- thenCollect:[:sel|anObject perform: sel].
+ options := CmdLineOption optionsFor: anObject
"Created: / 08-06-2009 / 13:06:23 / Jan Vrany <vranyj1@fel.cvut.cz>"
+ "Modified: / 06-11-2011 / 21:40:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!CmdLineParser methodsFor:'parsing'!
@@ -303,10 +274,10 @@
!CmdLineParser class methodsFor:'documentation'!
-version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/CmdLineParser.st,v 1.2 2011-07-03 15:07:03 cg Exp $'
+version
+ ^'$Header: /cvs/stx/stx/libbasic/CmdLineParser.st,v 1.3 2012-01-13 10:58:19 vrany Exp $'
!
version_SVN
- ^ '§Id: CmdLineParser.st,v 1.1 2011/06/28 10:54:52 vrany Exp §'
+ ^ '§Id: CmdLineParser.st 10737 2011-11-06 21:23:48Z vranyj1 §'
! !