git-annex/doc/bugs/--json_is_broken_for_status.mdwn
2014-01-18 12:05:10 -04:00

34 lines
794 B
Markdown

### Please describe the problem.
bad json produced
### What steps will reproduce the problem?
[[!format sh """
$> git annex status --json
,"success":true}
in another one
$> git annex status --json
D hardware/g-box/builds/mine/.#yoh-debug-lastdidnotconnect.txt
,"success":true}
"""]]
### What version of git-annex are you using? On what operating system?
Debian sid 5.20140116
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
> Not all commands support json. Made this explict by making --json not be
> a global option. Added --json support to status. [[done]]. --[[Joey]]