Skip to content

Commit 6a512d8

Browse files
committed
rename navigation-menu -> menu
Signed-off-by: Joana Hrotko <[email protected]>
1 parent 474c643 commit 6a512d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/compose/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const (
6565
ComposeIgnoreOrphans = "COMPOSE_IGNORE_ORPHANS"
6666
// ComposeEnvFiles defines the env files to use if --env-file isn't used
6767
ComposeEnvFiles = "COMPOSE_ENV_FILES"
68-
// ComposeMenu defines if the navigation menu should be rendered. Can be also set via --navigation-menu
68+
// ComposeMenu defines if the navigation menu should be rendered. Can be also set via --menu
6969
ComposeMenu = "COMPOSE_MENU"
7070
)
7171

cmd/compose/up.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func upCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service, ex
134134
if err != nil {
135135
composeMenu = composeMenuEnv
136136
}
137-
flags.BoolVar(&up.navigationMenu, "navigation-menu", composeMenu, "While running in attach mode, enable helpful shortcuts.")
137+
flags.BoolVar(&up.navigationMenu, "menu", composeMenu, "While running in attach mode, enable helpful shortcuts.")
138138

139139
return upCmd
140140
}

docs/reference/compose_up.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create and start containers
1616
| `--dry-run` | | | Execute command in dry run mode |
1717
| `--exit-code-from` | `string` | | Return the exit code of the selected service container. Implies --abort-on-container-exit |
1818
| `--force-recreate` | | | Recreate containers even if their configuration and image haven't changed |
19-
| `--navigation-menu` | | | While running in attach mode, enable helpful shortcuts. |
19+
| `--menu` | | | While running in attach mode, enable helpful shortcuts. |
2020
| `--no-attach` | `stringArray` | | Do not attach (stream logs) to the specified services |
2121
| `--no-build` | | | Don't build an image, even if it's policy |
2222
| `--no-color` | | | Produce monochrome output |

docs/reference/docker_compose_up.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ options:
108108
experimentalcli: false
109109
kubernetes: false
110110
swarm: false
111-
- option: navigation-menu
111+
- option: menu
112112
value_type: bool
113113
default_value: "false"
114114
description: While running in attach mode, enable helpful shortcuts.

0 commit comments

Comments
 (0)