2 ===================================================================
3 RCS file: /cvsroot/poldek/poldek/cli/cli.c,v
4 retrieving revision 1.44
5 diff -u -r1.44 cli/cli.c
6 --- cli/cli.c 3 Feb 2008 18:01:59 -0000 1.44
7 +++ cli/cli.c 20 Apr 2008 11:41:01 -0000
9 const char *cmdline, struct cmd_pipe *cmd_pipe)
13 + int rc = 0, i, _verbose;
15 DBGF("%s\n", cmdline);
17 + /* keep verbose setting as it changes when '-q' option is used */
18 + _verbose = poldek_verbose ();
20 cmd_chain = poclidek_prepare_cmdline(cctx, cmdline);
21 if (cmd_chain == NULL)
24 rc = poclidek_exec_cmd_ent(cctx, ts, ent, NULL);
28 + /* restore verbose setting */
29 + poldek_set_verbose (_verbose);
31 n_array_free(cmd_chain);
35 ===================================================================
36 RCS file: /cvsroot/poldek/poldek/cli/shell.c,v
37 retrieving revision 1.34
38 diff -u -r1.34 cli/shell.c
39 --- cli/shell.c 3 Feb 2008 18:01:59 -0000 1.34
40 +++ cli/shell.c 20 Apr 2008 11:41:02 -0000
43 s = n_str_strip_ws(line);
45 - int _verbose = poldek_verbose();
55 - poldek_set_verbose(_verbose);