mirror of
https://github.com/sigmasternchen/libsfuid
synced 2025-03-15 07:59:02 +00:00
added encode option
This commit is contained in:
parent
bf1c913bc6
commit
f06c8f68b1
1 changed files with 4 additions and 1 deletions
5
main.c
5
main.c
|
@ -265,7 +265,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
char* endptr;
|
||||
|
||||
while((opt = getopt(argc, argv, "o:c:l:dv")) != -1) {
|
||||
while((opt = getopt(argc, argv, "o:c:l:dev")) != -1) {
|
||||
switch(opt) {
|
||||
case 'o':
|
||||
offset = strtol(optarg, &endptr, 10);
|
||||
|
@ -284,6 +284,9 @@ int main(int argc, char** argv) {
|
|||
case 'c':
|
||||
charset = optarg;
|
||||
break;
|
||||
case 'e':
|
||||
decodeMode = false;
|
||||
break;
|
||||
case 'd':
|
||||
decodeMode = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue