summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index 42637f0..3975bad 100644
--- a/src/options.c
+++ b/src/options.c
@@ -17,6 +17,8 @@ static void printUsage(char *progname)
" --print-header Print ELF header\n"
" --print-segments Print program headers\n"
" --print-sections Print sections\n"
+ "\n"
+ " --copy Copy input to output\n"
"\n");
}
@@ -34,7 +36,7 @@ void parseOptions(CLIOpts *opts, int argc, char **argv)
{"print-header", 0, 0, 10001},
{"print-segments", 0, 0, 10002},
{"print-sections", 0, 0, 10003},
- {"model", 0, 0, 10004},
+ {"copy", 0, 0, 10004},
{NULL, 0, NULL, 0}
};
@@ -57,7 +59,7 @@ void parseOptions(CLIOpts *opts, int argc, char **argv)
opts->printSections = 1;
break;
case 10004:
- opts->model = 1;
+ opts->copy = 1;
break;
case '?':
default: