diff options
Diffstat (limited to 'commands/msg/copy.go')
-rw-r--r-- | commands/msg/copy.go | 3 |
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 } } |