metadata: Added --remove-all.
Motivation is to remove all metadata when it gets copied from a previous version of the file, and that is not deisrable. This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
parent
b4d13c75a1
commit
812d90022b
4 changed files with 23 additions and 1 deletions
|
@ -64,6 +64,10 @@ optParser desc = MetaDataOptions
|
|||
( long "remove" <> short 'r' <> metavar "FIELD"
|
||||
<> help "remove all values of a field"
|
||||
)
|
||||
<|> flag' DelAllMeta
|
||||
( long "remove-all"
|
||||
<> help "remove all metadata"
|
||||
)
|
||||
|
||||
seek :: MetaDataOptions -> CommandSeek
|
||||
seek o = case batchOption o of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue