use DelMeta to unset tag
No behavior change, just simplification.
This commit is contained in:
parent
4763004632
commit
98fcc23e4f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ optParser desc = MetaDataOptions
|
|||
( long "tag" <> short 't' <> metavar "TAG"
|
||||
<> help "set a tag"
|
||||
))
|
||||
<|> (AddMeta tagMetaField . mkMetaValue (CurrentlySet False) <$> strOption
|
||||
<|> (DelMeta tagMetaField . toMetaValue <$> strOption
|
||||
( long "untag" <> short 'u' <> metavar "TAG"
|
||||
<> help "remove a tag"
|
||||
))
|
||||
|
|
Loading…
Add table
Reference in a new issue