Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
umoci config: disable flag argument re-ordering
It turns out that urfave/cli hasn't been happy with parsing command-lines like [--config.cmd -c] for quite some time, and [1] only just exposed the issue in a test-case. There are loads of more subtle cases where you could see this happened even in the version of urfave/cli we have vendored. Until it's fixed upstream (which might not happen), we have to work around this by disabling argument reordering for 'umoci config' (which is the only command that usually has to deal with such flag arguments, and luckily doesn't take any positional arguments). [1]: urfave/cli#1152 Signed-off-by: Aleksa Sarai <asarai@suse.de>
- Loading branch information