Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adding verbosity
[src/app-framework-main.git]
/
wgtpkg-install.c
diff --git
a/wgtpkg-install.c
b/wgtpkg-install.c
index
7781c62
..
7a88ebf
100644
(file)
--- a/
wgtpkg-install.c
+++ b/
wgtpkg-install.c
@@
-29,7
+29,7
@@
/* install the widget of the file */
static void install(const char *wgtfile)
{
/* 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;
if (enter_workdir(1))
goto error;
@@
-56,6
+56,8
@@
int main(int ac, char **av)
xmlsec_init();
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) {
/* canonic names for files */
for (i = 1 ; av[i] != NULL ; i++)
if ((av[i] = realpath(av[i], NULL)) == NULL) {