aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/copy.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/copy.go')
-rw-r--r--commands/msg/copy.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/msg/copy.go b/commands/msg/copy.go
index 44257a74..6a106cf8 100644
--- a/commands/msg/copy.go
+++ b/commands/msg/copy.go
@@ -36,8 +36,7 @@ func (Copy) Execute(aerc *widgets.Aerc, args []string) error {
}
var createParents bool
for _, opt := range opts {
- switch opt.Option {
- case 'p':
+ if opt.Option == 'p' {
createParents = true
}
}