gnt-job list: Add options for commonly used filters
authorMichael Hanselmann <hansmi@google.com>
Thu, 12 Apr 2012 22:08:20 +0000 (00:08 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 13 Apr 2012 13:20:35 +0000 (15:20 +0200)
commitf037e9d71e0c2b2fcc4b0fe5194228acddd05f5b
treea882c97b6e25e40840ef27428be57d3b8cadd982
parent5ad68a231454a2112fb10352b1856467ef1d9b10
gnt-job list: Add options for commonly used filters

While “gnt-job list” would also accept filters on the command line (e.g.
“'status == "error"'”, having shortcuts in the form of options comes in
handy.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cli.py
lib/client/gnt_job.py