klist --json support

This commit is contained in:
Love Hornquist Astrand
2013-05-07 16:47:45 -07:00
parent 6d356ae74d
commit b2ff260e15
4 changed files with 213 additions and 79 deletions

View File

@@ -83,12 +83,22 @@ command = {
type = "flag"
help = "List all caches"
}
option = {
long = "json"
type = "flag"
help = "JSON formated output"
}
option = {
long = "verbose"
short = "v"
type = "flag"
help = "Verbose output"
}
option = {
long = "version"
type = "flag"
help = "version"
}
option = {
name = "a"
short = "a"