Hide --disable-debug from non verbose output also

This commit is contained in:
Max Howell 2012-08-31 08:09:35 -04:00
parent e7c05f558b
commit 04173d55c2

View File

@ -464,7 +464,10 @@ protected
# remove "boring" arguments so that the important ones are more likely to
# be shown considering that we trim long ohai lines to the terminal width
pretty_args = args.dup
pretty_args.delete "--disable-dependency-tracking" if cmd == "./configure" and not ARGV.verbose?
if cmd == "./configure" and not ARGV.verbose?
pretty_args.delete "--disable-dependency-tracking"
pretty_args.delete "--disable-debug"
end
ohai "#{cmd} #{pretty_args*' '}".strip
removed_ENV_variables = case if args.empty? then cmd.split(' ').first else cmd end