Skip to content

Commit

Permalink
missing usage for dap command
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Mar 28, 2023
1 parent d3e0353 commit 1c91613
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/buildx.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Extended build capabilities with BuildKit
| [`bake`](buildx_bake.md) | Build from a file |
| [`build`](buildx_build.md) | Start a build |
| [`create`](buildx_create.md) | Create a new builder instance |
| [`dap`](buildx_dap.md) | |
| [`dap`](buildx_dap.md) | Debug Adapter Protocol server |
| [`debug-shell`](buildx_debug-shell.md) | Start a monitor |
| [`du`](buildx_du.md) | Disk usage |
| [`imagetools`](buildx_imagetools.md) | Commands to work on images in registry |
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/buildx_dap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# docker buildx dap

<!---MARKER_GEN_START-->
Debug Adapter Protocol server

### Options

| Name | Type | Default | Description |
Expand Down
1 change: 1 addition & 0 deletions monitor/dap/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func AttachContainerCmd(dockerCli command.Cli) *cobra.Command {
func Cmd(dockerCli command.Cli) *cobra.Command {
cmd := &cobra.Command{
Use: "dap",
Short: "Debug Adapter Protocol server",
Hidden: true, // hidden command; we need it for emacs DAP support
RunE: func(cmd *cobra.Command, args []string) error {
logrus.SetOutput(os.Stderr)
Expand Down

0 comments on commit 1c91613

Please sign in to comment.