diff options
Diffstat (limited to 'commands/msgview')
-rw-r--r-- | commands/msgview/open-link.go | 2 | ||||
-rw-r--r-- | commands/msgview/open.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/commands/msgview/open-link.go b/commands/msgview/open-link.go index ad2a7cc2..55aee08c 100644 --- a/commands/msgview/open-link.go +++ b/commands/msgview/open-link.go @@ -12,7 +12,7 @@ import ( type OpenLink struct { Url *url.URL `opt:"url" action:"ParseUrl"` - Cmd []string `opt:"..." required:"false"` + Cmd string `opt:"..." required:"false"` } func init() { diff --git a/commands/msgview/open.go b/commands/msgview/open.go index bab46bd7..0d6db5b0 100644 --- a/commands/msgview/open.go +++ b/commands/msgview/open.go @@ -13,8 +13,8 @@ import ( ) type Open struct { - Delete bool `opt:"-d"` - Cmd []string `opt:"..." required:"false"` + Delete bool `opt:"-d"` + Cmd string `opt:"..." required:"false"` } func init() { |