Skip to content

Commit

Permalink
Merge pull request cli#4842 from cli/gh-cs-cp-help-typo
Browse files Browse the repository at this point in the history
gh cs cp --help: fix typo
  • Loading branch information
adonovan authored Dec 3, 2021
2 parents 94a640b + 5fea604 commit 0052199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/codespace/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ func newCpCmd(app *App) *cobra.Command {
provided by untrusted users; see <https://lwn.net/Articles/835962/> 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)
Expand Down

0 comments on commit 0052199

Please sign in to comment.