Commit graph

15 commits

Author SHA1 Message Date
iceman1001 0067a9b7fa for commands with many params 2021-03-07 18:55:48 +01:00
iceman1001 ea5625c304 chg: cliparse error message unified to pm3 style 2021-01-29 20:35:18 +01:00
iceman1001 2987fdb187 added warning prefix 2021-01-23 19:08:45 +01:00
iceman1001 64f9bb5e01 style 2020-10-06 18:00:00 +02:00
Philippe Teuwen 0339667e9e cliparser: ignore extra spaces between options 2020-10-04 20:33:56 +02:00
iceman1001 4f4593d9fa remove debugstatement 2020-10-04 18:54:43 +02:00
iceman1001 166e626c98 add u64_y support in argtable-cliparser. 2020-10-04 17:41:04 +02:00
mwalker33 68f0945d48 Update argtable3.c
Remove = when only long option
2020-10-03 20:21:16 +10:00
mwalker33 e6398674b0 Cliparser cleanup
Update to remove "=" from help text
update md file, fix typos and better notses for the options.
2020-10-03 19:06:01 +10:00
iceman1001 cc6f497897 cppcheck 2020-06-02 12:56:38 +02:00
Philippe Teuwen 8a9c7d2efc argtable3: fix buffer overrun
This bug was suddently triggered by Appveyor compilation and seems to make sense.

[-] CC argtable3.c

    inlined from 'arg_cat_option' at argtable3.c:4208:13,
    inlined from 'arg_print_syntax' at argtable3.c:4392:9:
argtable3.c:4149:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
 4149 |     *dest = 0;
      |     ~~~~~~^~~
argtable3.c: In function 'arg_print_syntax':
argtable3.c:4381:14: note: at offset 200 to object 'syntax' with size 200 declared here
 4381 |         char syntax[200] = "";
      |              ^~~~~~
2020-05-10 23:59:46 +02:00
Philippe Teuwen 3c9a19d4c1 Revert "update argtable3"
It was an attempt to solve the mysterious reveng getopt bug
but it brings more troubles and throws away multi-platform pm3 tuning

This reverts commit f3790a89a5.
2020-05-07 01:00:40 +02:00
Philippe Teuwen f3790a89a5 update argtable3 2020-05-06 23:33:30 +02:00
iceman1001 1bf32aad90 Chg: android adaptions from @xianglin1998 2020-04-16 16:46:09 +02:00
Bjoern Kerler 81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00
Renamed from client/cliparser/argtable3.c (Browse further)