summaryrefslogtreecommitdiffstats
path: root/wgtpkg-install.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-03 12:18:13 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-03 12:18:13 +0100
commite3c4a363ea7b03a909f9b92c6657ea9129ee53f3 (patch)
treeb62976ff74cfb609f1a9bfabd04602e0211f59fb /wgtpkg-install.c
parent38fbd847bcb58b9067ffe4bd56035ba4ccbf993b (diff)
Adding verbosity
Change-Id: Icc0fdc6a230e2bf11fccc4f7739009e7266f6b9d
Diffstat (limited to 'wgtpkg-install.c')
-rw-r--r--wgtpkg-install.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wgtpkg-install.c b/wgtpkg-install.c
index 7781c62..7a88ebf 100644
--- a/wgtpkg-install.c
+++ b/wgtpkg-install.c
@@ -29,7 +29,7 @@
/* install the widget of the file */
static void install(const char *wgtfile)
{
-printf("\n\nINSTALLING widget %s\n", wgtfile);
+ notice("-- INSTALLING widget %s", wgtfile);
if (enter_workdir(1))
goto error;
@@ -56,6 +56,8 @@ int main(int ac, char **av)
xmlsec_init();
+ ac = verbose_scan_args(ac, av);
+
/* canonic names for files */
for (i = 1 ; av[i] != NULL ; i++)
if ((av[i] = realpath(av[i], NULL)) == NULL) {