TODO in shellopts-0.9.3 vs TODO in shellopts-0.9.4
- old
+ new
@@ -1,7 +1,12 @@
TODO
+ o Check on return value from #process block to see if all options was handled:
+ case opt
+ when '-v'; verbose = true # Return value 'true' is ok
+ # Unhandled option means return value is nil
+ end
o Consolidate some of the 3 variations of #error and #fail
o Add a option flag for solitary options (--help)
o Make a #to_yaml
o Make an official dump method for debug
o Make a note that all options are processed at once and not as-you-go
@@ -53,9 +58,10 @@
EFILE, EDIR
o Octal and hexadecimal integers
o Escape of separator in lists
o Handle output of subcommand usage like "cmd1 cmd1.cmd2 cmd2"
o Command-specific arguments: clone! o,opt ++ ARG1 ARG2...
+ o Hostname and email as basic types
ON TO_H BRANCH
ShellOpts.process(usage, argv) { |opt,val| ... } => args
ShellOpts.process(usage, argv) { |key,opt,val| ... } => args