mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
od: another fix for --strings
function old new delta od_main 2139 2147 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9d96e274ce
commit
d373355bf8
@ -1183,12 +1183,15 @@ int od_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
"read-bytes\0" Required_argument "N"
|
"read-bytes\0" Required_argument "N"
|
||||||
"format\0" Required_argument "t"
|
"format\0" Required_argument "t"
|
||||||
"output-duplicates\0" No_argument "v"
|
"output-duplicates\0" No_argument "v"
|
||||||
|
/* Yes, it's true: -S NUM, but --strings[=NUM]!
|
||||||
|
* that is, NUM is mandatory for -S but optional for --strings!
|
||||||
|
*/
|
||||||
"strings\0" Optional_argument "S"
|
"strings\0" Optional_argument "S"
|
||||||
"width\0" Optional_argument "w"
|
"width\0" Optional_argument "w"
|
||||||
"traditional\0" No_argument "\xff"
|
"traditional\0" No_argument "\xff"
|
||||||
;
|
;
|
||||||
#endif
|
#endif
|
||||||
char *str_A, *str_N, *str_j, *str_S;
|
const char *str_A, *str_N, *str_j, *str_S = "3";
|
||||||
llist_t *lst_t = NULL;
|
llist_t *lst_t = NULL;
|
||||||
unsigned opt;
|
unsigned opt;
|
||||||
int l_c_m;
|
int l_c_m;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user