summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-10-19 11:24:11 -0500
committerJesse Gilles <jgilles@multitech.com>2010-10-19 11:24:11 -0500
commit874c207ab4c4249e6286c70a9f45dfbff3cbcb92 (patch)
tree8aaa69bdfb6618d6309746b9f0d161bb1a306a65
parent427e0389df9a734b2e417238d573e5f510e8011d (diff)
downloadmts-id-eeprom-874c207ab4c4249e6286c70a9f45dfbff3cbcb92.tar.gz
mts-id-eeprom-874c207ab4c4249e6286c70a9f45dfbff3cbcb92.tar.bz2
mts-id-eeprom-874c207ab4c4249e6286c70a9f45dfbff3cbcb92.zip
fix --capa-* options, they don't require an argument
-rw-r--r--src/eeprom_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eeprom_main.c b/src/eeprom_main.c
index e9ee652..6fe49cc 100644
--- a/src/eeprom_main.c
+++ b/src/eeprom_main.c
@@ -241,10 +241,10 @@ static struct option long_options[] = {
{"hw-version", 1, NULL, CMD_OPT_HW_VERSION},
{"mac-addr", 1, NULL, CMD_OPT_MAC_ADDR},
{"imei", 1, NULL, CMD_OPT_IMEI},
- {"capa-gps", 1, NULL, CMD_OPT_CAPA_GPS},
- {"capa-din", 1, NULL, CMD_OPT_CAPA_DIN},
- {"capa-dout", 1, NULL, CMD_OPT_CAPA_DOUT},
- {"capa-adc", 1, NULL, CMD_OPT_CAPA_ADC},
+ {"capa-gps", 0, NULL, CMD_OPT_CAPA_GPS},
+ {"capa-din", 0, NULL, CMD_OPT_CAPA_DIN},
+ {"capa-dout", 0, NULL, CMD_OPT_CAPA_DOUT},
+ {"capa-adc", 0, NULL, CMD_OPT_CAPA_ADC},
{"capa", 1, NULL, CMD_OPT_CAPA},
{"out-format", 1, NULL, CMD_OPT_OUT_FORMAT},
{"version", 0, NULL, CMD_OPT_VERSION},