2 * (C) Copyright 2007-2010 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
11 *! \tok{\sc SET} \tok{\sc NOTS}
15 *! Disable the console timestamp printing
17 static int cmd_set_nots(struct virt_sys
*sys
, char *cmd
, int len
)
19 SHELL_CMD_AUTH(sys
, G
);
21 sys
->print_ts
= false;
28 *! \tok{\sc SET} \tok{\sc TS}
32 *! Enable the console timestamp printing
34 static int cmd_set_ts(struct virt_sys
*sys
, char *cmd
, int len
)
36 SHELL_CMD_AUTH(sys
, G
);
42 static struct cpcmd cmd_tbl_set
[] = {
43 {"NOTS", cmd_set_nots
, NULL
},
44 {"TS", cmd_set_ts
, NULL
},