We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f0dbd commit 9542bdfCopy full SHA for 9542bdf
cmd/compatibility/convert.go
@@ -43,7 +43,7 @@ func getStringFlags() []string {
43
}
44
45
46
-var argToActualFlag = map[string]string{
+var argToActualArgument = map[string]string{
47
"--verbose": "--debug",
48
// docker cli has deprecated -h to avoid ambiguity with -H, while docker-compose still support it
49
"-h": "--help",
@@ -67,8 +67,8 @@ func Convert(args []string) []string {
67
command = append(command, args[i:]...)
68
break
69
70
- if actualFlag, ok := argToActualFlag[arg]; ok {
71
- arg = actualFlag
+ if actualArgument, ok := argToActualArgument[arg]; ok {
+ arg = actualArgument
72
73
if contains(getBoolFlags(), arg) {
74
rootFlags = append(rootFlags, arg)
0 commit comments