Skip to content

Commit

Permalink
feat: change encrypt file argument sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
cody committed Aug 23, 2024
1 parent d92c635 commit 83b45f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ var encryptCmd = &cmds.Command{
Tagline: "encrypt file with the public key of the peer",
},
Arguments: []cmds.Argument{
cmds.StringArg("folder", true, false, "The folder the file to be uploaded."),
cmds.FileArg("path", true, true, "The path to a file to be added to btfs.").EnableRecursive().EnableStdin(),
cmds.StringArg("folder", true, true, "The folder the file to be uploaded."),
},
Options: []cmds.Option{
cmds.StringOption(toOption, "the peerID of the node which you want to share with"),
Expand Down

0 comments on commit 83b45f2

Please sign in to comment.