summaryrefslogtreecommitdiff
path: root/ick
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-06-21 16:23:17 +0300
committerLars Wirzenius <liw@liw.fi>2015-06-21 16:23:17 +0300
commitb82451146cc527ab4435ce1086d8aed573d19e5b (patch)
tree154dcf389004ee2134801a49c57492bbc3336c4d /ick
parent8f3ecf5b18a6869406c790af2dd334fba19f3a7f (diff)
downloadick-b82451146cc527ab4435ce1086d8aed573d19e5b.tar.gz
Add --quiet option to ick
Diffstat (limited to 'ick')
-rwxr-xr-xick5
1 files changed, 5 insertions, 0 deletions
diff --git a/ick b/ick
index 2ed9da7..1c1cc39 100755
--- a/ick
+++ b/ick
@@ -38,6 +38,10 @@ class Ick(cliapp.Application):
['project', 'p'],
'only build PROJECT (can be used multiple times)')
+ self.settings.boolean(
+ ['quiet', 'silent'],
+ 'reduce how much output from commands is shown')
+
def process_args(self, args):
filename = self.parse_command_line_args(args)
ick = self.read_ick_file(filename)
@@ -65,6 +69,7 @@ class Ick(cliapp.Application):
project_name=project.name,
project_type=project.project_type)
project.set_logger(self.logger)
+ project.set_quiet(self.settings['quiet'])
project.build(statedir, targets)