Files
bouwhuim.nikhef.nl dee2668a61 newest version WRPC
2013-09-10 08:08:59 +00:00

26 lines
480 B
C

/*
* This work is part of the White Rabbit project
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <wrc.h>
#include <shell.h>
#include <ppsi/ppsi.h>
static int cmd_verbose(const char *args[])
{
int v;
v = args[0][0] - '0';
if (args[0])
pp_global_flags = pp_diag_parse((char *)args[0]);
pp_printf("PPSI verbosity: %08lx\n", pp_global_flags);
return 0;
}
DEFINE_WRC_COMMAND(verbose) = {
.name = "verbose",
.exec = cmd_verbose,
};