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:
Uwe Hermann 2012-03-21 19:58:56 +01:00
parent b5750520bb
commit 2e7cb0040a
5 changed files with 7 additions and 7 deletions

View File

@ -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 = { SR_PRIV struct sr_dev_driver fx2lafw_driver_info = {
.name = "fx2lafw", .name = "fx2lafw",
.longname = "fx2lafw", .longname = "fx2lafw (generic driver for FX2 based LAs)",
.api_version = 1, .api_version = 1,
.init = hw_init, .init = hw_init,
.cleanup = hw_cleanup, .cleanup = hw_cleanup,

View File

@ -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 = { SR_PRIV struct sr_output_format output_analog_bits = {
.id = "analog_bits", .id = "analog_bits",
.description = "Bits (takes argument, default 64)", .description = "Bits",
.df_type = SR_DF_ANALOG, .df_type = SR_DF_ANALOG,
.init = init_bits, .init = init_bits,
.data = data_bits, .data = data_bits,
@ -466,7 +466,7 @@ SR_PRIV struct sr_output_format output_analog_bits = {
#if 0 #if 0
struct sr_output_format output_analog_hex = { struct sr_output_format output_analog_hex = {
.id = "analog_hex", .id = "analog_hex",
.description = "Hexadecimal (takes argument, default 192)", .description = "Hexadecimal",
.df_type = SR_DF_ANALOG, .df_type = SR_DF_ANALOG,
.init = init_hex, .init = init_hex,
.data = data_hex, .data = data_hex,
@ -475,7 +475,7 @@ struct sr_output_format output_analog_hex = {
struct sr_output_format output_analog_ascii = { struct sr_output_format output_analog_ascii = {
.id = "analog_ascii", .id = "analog_ascii",
.description = "ASCII (takes argument, default 74)", .description = "ASCII",
.df_type = SR_DF_ANALOG, .df_type = SR_DF_ANALOG,
.init = init_ascii, .init = init_ascii,
.data = data_ascii, .data = data_ascii,

View File

@ -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 = { SR_PRIV struct sr_output_format output_text_ascii = {
.id = "ascii", .id = "ascii",
.description = "ASCII (takes argument, default 74)", .description = "ASCII",
.df_type = SR_DF_LOGIC, .df_type = SR_DF_LOGIC,
.init = init_ascii, .init = init_ascii,
.data = data_ascii, .data = data_ascii,

View File

@ -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 = { SR_PRIV struct sr_output_format output_text_bits = {
.id = "bits", .id = "bits",
.description = "Bits (takes argument, default 64)", .description = "Bits",
.df_type = SR_DF_LOGIC, .df_type = SR_DF_LOGIC,
.init = init_bits, .init = init_bits,
.data = data_bits, .data = data_bits,

View File

@ -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 = { SR_PRIV struct sr_output_format output_text_hex = {
.id = "hex", .id = "hex",
.description = "Hexadecimal (takes argument, default 192)", .description = "Hexadecimal",
.df_type = SR_DF_LOGIC, .df_type = SR_DF_LOGIC,
.init = init_hex, .init = init_hex,
.data = data_hex, .data = data_hex,