bin/getopts/uttk.rb in uttk-0.3.1.2 vs bin/getopts/uttk.rb in uttk-0.3.5.0
- old
+ new
@@ -1,9 +1,9 @@
# Author:: The Uttk Team.
# Copyright:: Copyright (c) 2004 Uttk team. All rights reserved.
# License:: LGPL
-# $Id: /w/fey/uttk/trunk/bin/getopts/uttk.rb 22244 2006-02-25T10:48:53.146614Z pouillar $
+# $Id: /w/fey/uttk/trunk/bin/getopts/uttk.rb 22258 2006-02-26T14:40:04.490324Z pouillar $
require 'optparse'
Hierarchy.import!
PpHierarchy.import!
@@ -328,15 +328,15 @@
end
exit 0
end
optparser.on_tail('--authors', 'Display the AUTHORS file') do
- puts ::Uttk::AUTHORS_PATH.read
+ puts((::Uttk::DIR + 'AUTHORS').read)
exit 0
end
optparser.on_tail('--version', 'Show version') do
- puts ::Uttk::VERSION_TEXT
+ puts ::Uttk::Version.text
exit 0
end
end