cli: new option to list output modules
This commit is contained in:
parent
9d4bde70fc
commit
655756e01d
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue