Open r7l opened 5 years ago
Looks like mixing global args like -v
and command specific args with a single dash is not supported:
$ kubler build -vnF
--verbose
is set but -nF
is ignored.
$ kubler build -nFv
-nF
works as expected but --verbose
is not set
Strictly speaking passing -nFv
should not be supported and throw an error, it should be:
$ kubler -v build -nF
Not quite as correct but still works as expected:
$ kubler build -nF -v foo/bar
$ kubler build -nF foo/bar -v
I seem to remember that this issue got already resolved in argbash itself though, however as it still does lack a few features for Kubler's use case updating is not gonna be straight forward at the moment.
When trying to rebuild an image with options like
-Fn
it behaves differently as if you would use-vFn
. expected result should be the same and only the amount of shown output should change.Example:
kubler build -vF r7l/nginx
kubler build -F r7l/nginx