cli: Fix -V/-h output a bit.
Options and their defaults should not be documented there, but rather in the manpage or such.
This commit is contained in:
parent
b5750520bb
commit
2e7cb0040a
|
@ -699,7 +699,7 @@ static int hw_dev_acquisition_stop(int dev_index, void *cb_data)
|
|||
|
||||
SR_PRIV struct sr_dev_driver fx2lafw_driver_info = {
|
||||
.name = "fx2lafw",
|
||||
.longname = "fx2lafw",
|
||||
.longname = "fx2lafw (generic driver for FX2 based LAs)",
|
||||
.api_version = 1,
|
||||
.init = hw_init,
|
||||
.cleanup = hw_cleanup,
|
||||
|
|
|
@ -456,7 +456,7 @@ static int data_ascii(struct sr_output *o, const char *data_in,
|
|||
|
||||
SR_PRIV struct sr_output_format output_analog_bits = {
|
||||
.id = "analog_bits",
|
||||
.description = "Bits (takes argument, default 64)",
|
||||
.description = "Bits",
|
||||
.df_type = SR_DF_ANALOG,
|
||||
.init = init_bits,
|
||||
.data = data_bits,
|
||||
|
@ -466,7 +466,7 @@ SR_PRIV struct sr_output_format output_analog_bits = {
|
|||
#if 0
|
||||
struct sr_output_format output_analog_hex = {
|
||||
.id = "analog_hex",
|
||||
.description = "Hexadecimal (takes argument, default 192)",
|
||||
.description = "Hexadecimal",
|
||||
.df_type = SR_DF_ANALOG,
|
||||
.init = init_hex,
|
||||
.data = data_hex,
|
||||
|
@ -475,7 +475,7 @@ struct sr_output_format output_analog_hex = {
|
|||
|
||||
struct sr_output_format output_analog_ascii = {
|
||||
.id = "analog_ascii",
|
||||
.description = "ASCII (takes argument, default 74)",
|
||||
.description = "ASCII",
|
||||
.df_type = SR_DF_ANALOG,
|
||||
.init = init_ascii,
|
||||
.data = data_ascii,
|
||||
|
|
|
@ -120,7 +120,7 @@ SR_PRIV int data_ascii(struct sr_output *o, const char *data_in,
|
|||
|
||||
SR_PRIV struct sr_output_format output_text_ascii = {
|
||||
.id = "ascii",
|
||||
.description = "ASCII (takes argument, default 74)",
|
||||
.description = "ASCII",
|
||||
.df_type = SR_DF_LOGIC,
|
||||
.init = init_ascii,
|
||||
.data = data_ascii,
|
||||
|
|
|
@ -106,7 +106,7 @@ SR_PRIV int data_bits(struct sr_output *o, const char *data_in,
|
|||
|
||||
SR_PRIV struct sr_output_format output_text_bits = {
|
||||
.id = "bits",
|
||||
.description = "Bits (takes argument, default 64)",
|
||||
.description = "Bits",
|
||||
.df_type = SR_DF_LOGIC,
|
||||
.init = init_bits,
|
||||
.data = data_bits,
|
||||
|
|
|
@ -94,7 +94,7 @@ SR_PRIV int data_hex(struct sr_output *o, const char *data_in,
|
|||
|
||||
SR_PRIV struct sr_output_format output_text_hex = {
|
||||
.id = "hex",
|
||||
.description = "Hexadecimal (takes argument, default 192)",
|
||||
.description = "Hexadecimal",
|
||||
.df_type = SR_DF_LOGIC,
|
||||
.init = init_hex,
|
||||
.data = data_hex,
|
||||
|
|
Loading…
Reference in New Issue