Fix opts: forgot to assign the default value.
authorJean Privat <jean@pryen.org>
Tue, 27 Jan 2009 18:01:18 +0000 (13:01 -0500)
committerJean Privat <jean@pryen.org>
Tue, 27 Jan 2009 18:01:18 +0000 (13:01 -0500)
lib/opts.nit

index 1e77f35..b9e5ceb 100644 (file)
@@ -45,6 +45,7 @@ class Option
                _helptext = help
                _mandatory = false
                _default_value = default
+               _value = default 
        end
 
        # Add new aliases for this option