Skip to content

Commit 6c9a325

Browse files
committed
Fix the default value of tar, it should be true
1 parent 68710db commit 6c9a325

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/get.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ type hdPackage struct {
252252
}
253253

254254
func (o *downloadOption) preRunE(cmd *cobra.Command, args []string) (err error) {
255+
o.Tar = true
255256
if len(args) <= 0 {
256257
return fmt.Errorf("no URL provided")
257258
}

0 commit comments

Comments
 (0)