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
|
import Annex.Content
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = noCommit $
|
cmd = noCommit $ withGlobalOptions [jsonOption] $
|
||||||
command "dropkey" SectionPlumbing
|
command "dropkey" SectionPlumbing
|
||||||
"drops annexed content for specified keys"
|
"drops annexed content for specified keys"
|
||||||
(paramRepeating paramKey)
|
(paramRepeating paramKey)
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -8,7 +8,7 @@ git-annex (6.20160230) UNRELEASED; urgency=medium
|
||||||
Thanks, Klaus Ethgen.
|
Thanks, Klaus Ethgen.
|
||||||
* Added dependencies on haskell mountpoints and disk-free-space
|
* Added dependencies on haskell mountpoints and disk-free-space
|
||||||
libraries, removing FFI code from git-annex.
|
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
|
-- 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
|
Enables batch mode, in which lines containing keys to drop are read from
|
||||||
stdin.
|
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
|
# SEE ALSO
|
||||||
|
|
||||||
[[git-annex]](1)
|
[[git-annex]](1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue