From b6740cf1d1fe847ae0064f7d7a5be1b24dcf4779 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 19 Jun 2014 08:47:06 -0700 Subject: Make debug and verbose output work properly. --- bin/spack | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/spack b/bin/spack index fef793a6ce..df517c1f1d 100755 --- a/bin/spack +++ b/bin/spack @@ -77,8 +77,10 @@ for cmd in spack.cmd.commands: args = parser.parse_args() # Set up environment based on args. -spack.verbose = args.verbose +tty.set_verbose(args.verbose) +tty.set_debug(args.debug) spack.debug = args.debug + spack.spack_working_dir = working_dir if args.mock: from spack.packages import PackageDB -- cgit v1.2.3-70-g09d2