cli: new option to list output modules

This commit is contained in:
Bert Vermeulen 2011-01-10 12:39:53 +01:00
parent 9d4bde70fc
commit 655756e01d
2 changed files with 3 additions and 3 deletions

View File

@ -216,7 +216,7 @@ static int event(struct output *o, int event_type, char **data_out,
struct output_format output_analog = { struct output_format output_analog = {
"analog", "analog",
"Analog data", "Analog data (takes argument, default 10)",
DF_ANALOG, DF_ANALOG,
init, init,
data, data,

View File

@ -306,7 +306,7 @@ static int data_hex(struct output *o, char *data_in, uint64_t length_in,
struct output_format output_text_bits = { struct output_format output_text_bits = {
"bits", "bits",
"Text (bits)", "Bits (takes argument, default 64)",
DF_LOGIC, DF_LOGIC,
init_bits, init_bits,
data_bits, data_bits,
@ -315,7 +315,7 @@ struct output_format output_text_bits = {
struct output_format output_text_hex = { struct output_format output_text_hex = {
"hex", "hex",
"Text (hexadecimal)", "Hexadecimal (takes argument, default 256)",
DF_LOGIC, DF_LOGIC,
init_hex, init_hex,
data_hex, data_hex,