better 'zrok copy' default target (#438)

This commit is contained in:
Michael Quigley 2024-01-11 14:14:48 -05:00
parent c2fb144053
commit 7c742aebfa
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -48,7 +48,7 @@ func (cmd *copyCommand) run(_ *cobra.Command, args []string) {
sourceUrl.Scheme = "file"
}
targetStr := "file://."
targetStr := "."
if len(args) == 2 {
targetStr = args[1]
}