test/golden/compatible.txt in como-0.1.1 vs test/golden/compatible.txt in como-0.1.2
- old
+ new
@@ -1,438 +1,449 @@
+---- CMD: como_compatible
-como_options error: Option "-f" missing for "como_options"...
+como_compatible error: Option "-f" missing for "como_compatible"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible --doc
Given "help": false
Given "doc": true
+Value "doc": []
Given "file": false
Given "debug": false
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": false
Given "<default>": false
-Value "doc": true
+---- CMD: como_compatible --doc -f
-como_options error: No argument given for "-f"...
+como_compatible error: No argument given for "-f"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible --doc -f foo
Given "help": false
Given "doc": true
+Value "doc": []
Given "file": true
+Value "file": foo
Given "debug": false
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": false
Given "<default>": false
-Value "doc": true
-Value "file": foo
+---- CMD: como_compatible -f
-como_options error: No argument given for "-f"...
+como_compatible error: No argument given for "-f"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -f dii
-como_options error: Option "-d" missing for "como_options"...
+como_compatible error: Option "-d" missing for "como_compatible"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -f dii -d
-como_options error: No argument given for "-d"...
+como_compatible error: No argument given for "-d"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible --file dii -d d1
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
Value "dir": ["d1"]
+Given "<default>": false
+---- CMD: como_compatible --file dii -d d1 d2
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
Value "dir": ["d1", "d2"]
+Given "<default>": false
+---- CMD: como_compatible --debug -f dii -d d1
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": true
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "debug": true
Value "dir": ["d1"]
+Given "<default>": false
+---- CMD: como_compatible -f dii -d d1 --debug
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": true
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "debug": true
Value "dir": ["d1"]
+Given "<default>": false
+---- CMD: como_compatible -f dii -d d1 --debug -m foo
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": true
Given "mode": true
+Value "mode": foo
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "debug": true
-Value "mode": foo
Value "dir": ["d1"]
+Given "<default>": false
+---- CMD: como_compatible -f dii -d d1 --debug -m foo
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": true
Given "mode": true
+Value "mode": foo
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "debug": true
-Value "mode": foo
Value "dir": ["d1"]
+Given "<default>": false
+---- CMD: como_compatible -f dii -d d1 --params foo=bar dii=duu
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
Value "dir": ["d1"]
+Given "<default>": false
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 --params foo=bar dii=duu -t
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": true
+Value "types": []
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
-Value "types": []
Value "dir": ["d1"]
+Given "<default>": false
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 --params foo=bar dii=duu -t duu dii
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": true
+Value "types": ["duu", "dii"]
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
-Value "types": ["duu", "dii"]
Value "dir": ["d1"]
+Given "<default>": false
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 --params foo=bar dii=duu -t duu dii left over
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": true
+Value "types": ["duu", "dii", "left", "over"]
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
-Value "types": ["duu", "dii", "left", "over"]
Value "dir": ["d1"]
+Given "<default>": false
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 -t --params foo=bar dii=duu left over
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu", "left", "over"]
Given "types": true
+Value "types": []
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu", "left", "over"]
-Value "types": []
Value "dir": ["d1"]
+Given "<default>": false
Param foo: bar
Param dii: duu
Param left:
Param over:
+---- CMD: como_compatible -t duu dii --params foo=bar dii=duu -f dii -d d1 left over
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": true
+Value "types": ["duu", "dii"]
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
-Value "types": ["duu", "dii"]
Value "dir": ["d1", "left", "over"]
+Given "<default>": false
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 -t duu dii --params foo=bar dii=duu - left over
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": true
+Value "params": ["foo=bar", "dii=duu"]
Given "types": true
+Value "types": ["duu", "dii"]
Given "terminator": true
Given "dir": true
-Given "<default>": true
-Value "file": dii
-Value "params": ["foo=bar", "dii=duu"]
-Value "types": ["duu", "dii"]
-Value "terminator": true
Value "dir": ["d1"]
+Given "<default>": true
Value "<default>": ["left", "over"]
Param foo: bar
Param dii: duu
+---- CMD: como_compatible -f dii -d d1 -t duu dii - left over -- external arguments
Given "help": false
Given "doc": false
Given "file": true
+Value "file": dii
Given "debug": false
Given "mode": false
Given "params": false
Given "types": true
+Value "types": ["duu", "dii"]
Given "terminator": true
Given "dir": true
-Given "<default>": true
-Value "file": dii
-Value "types": ["duu", "dii"]
-Value "terminator": true
Value "dir": ["d1"]
+Given "<default>": true
Value "<default>": ["left", "over"]
External: ["external", "arguments"]
+---- CMD: como_compatible -f foo -- external arguments
-como_options error: Option "-d" missing for "como_options"...
+como_compatible error: Option "-d" missing for "como_compatible"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -f foo -t
-como_options error: Option "-d" missing for "como_options"...
+como_compatible error: Option "-d" missing for "como_compatible"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -q dii -f foo -t
-como_options error: Unknown option "-q"...
+como_compatible error: Unknown option "-q"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -d -q dii -f foo -t
-como_options error: No argument given for "-d"...
+como_compatible error: No argument given for "-d"...
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -f foo -d dir
Given "help": false
Given "doc": false
Given "file": true
+Value "file": foo
Given "debug": false
Given "mode": false
Given "params": false
Given "types": false
Given "terminator": false
Given "dir": true
-Given "<default>": false
-Value "file": foo
Value "dir": ["dir"]
+Given "<default>": false
+---- CMD: como_compatible -f foo -d dir -h
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester
+---- CMD: como_compatible -h -f foo -d dir
- Usage:
- como_options [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<args>]
+ como_compatible [--doc] -f <file> [--debug] [-m <mode>] [--params <params>+] [-t <types>*] -d <dir>+ [<default>]
--doc Documentation.
-f File argument.
--debug Enable debugging.
-m Mode.
--params Parameters.
-t Types.
-d Directory argument(s).
- <args> Leftovers.
+ <default> Leftovers.
Copyright (c) 2013 by Como Tester