dropkey --json
This commit is contained in:
parent
acf74ae945
commit
a07fd19ce9
3 changed files with 7 additions and 2 deletions
|
@ -13,7 +13,7 @@ import Logs.Location
|
|||
import Annex.Content
|
||||
|
||||
cmd :: Command
|
||||
cmd = noCommit $
|
||||
cmd = noCommit $ withGlobalOptions [jsonOption] $
|
||||
command "dropkey" SectionPlumbing
|
||||
"drops annexed content for specified keys"
|
||||
(paramRepeating paramKey)
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -8,7 +8,7 @@ git-annex (6.20160230) UNRELEASED; urgency=medium
|
|||
Thanks, Klaus Ethgen.
|
||||
* Added dependencies on haskell mountpoints and disk-free-space
|
||||
libraries, removing FFI code from git-annex.
|
||||
* dropkey: Add --batch.
|
||||
* dropkey: Add --batch and --json.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Mon, 29 Feb 2016 13:00:30 -0400
|
||||
|
||||
|
|
|
@ -24,6 +24,11 @@ exist; using it can easily result in data loss.
|
|||
Enables batch mode, in which lines containing keys to drop are read from
|
||||
stdin.
|
||||
|
||||
* `--json`
|
||||
|
||||
Enable JSON output. This is intended to be parsed by programs that use
|
||||
git-annex. Each line of output is a JSON object.
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
[[git-annex]](1)
|
||||
|
|
Loading…
Reference in a new issue