From 090a5803d5528f56ee6e60a75b902b960b6f07d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 2 Dec 2014 14:47:32 +0100 Subject: [PATCH] bam cli: status was using json --- client/cli/bam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cli/bam.py b/client/cli/bam.py index 2750c19..a2e67a0 100755 --- a/client/cli/bam.py +++ b/client/cli/bam.py @@ -618,7 +618,7 @@ class bam_commands: paths_add, paths_remove, paths_modified, paths_remap_subset_add, ) - if use_json: + if not use_json: for fn in sorted(paths_add): print(" A: %s" % fn) for fn in sorted(paths_modified): @@ -856,7 +856,7 @@ def create_argparse_status(subparsers): subparse.set_defaults( func=lambda args: - bam_commands.status(args.paths or ["."]), + bam_commands.status(args.paths or ["."], use_json=args.json), )