diff --git a/pkg/cmd/codespace/ssh.go b/pkg/cmd/codespace/ssh.go index 74bb9c7a5..840386d5c 100644 --- a/pkg/cmd/codespace/ssh.go +++ b/pkg/cmd/codespace/ssh.go @@ -179,9 +179,9 @@ func newCpCmd(app *App) *cobra.Command { provided by untrusted users; see for discussion. `, "`"), Example: heredoc.Doc(` - $ gh codespace cp -e README.md 'remote:/workspace/$RepositoryName/' + $ gh codespace cp -e README.md 'remote:/workspaces/$RepositoryName/' $ gh codespace cp -e 'remote:~/*.go' ./gofiles/ - $ gh codespace cp -e 'remote:/workspace/myproj/go.{mod,sum}' ./gofiles/ + $ gh codespace cp -e 'remote:/workspaces/myproj/go.{mod,sum}' ./gofiles/ `), RunE: func(cmd *cobra.Command, args []string) error { return app.Copy(cmd.Context(), args, opts)