First memory model of an ELF file
[centaur.git] / src / options.c
index 014a1f213d32dfc1178f506db6453bafcce108d4..42637f04c1940961ea00c22bd91e27f5edd402f7 100644 (file)
@@ -34,6 +34,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},
     {NULL, 0, NULL, 0}
   };
 
@@ -55,6 +56,9 @@ void parseOptions(CLIOpts *opts, int argc, char **argv)
       case 10003:
         opts->printSections = 1;
         break;
+      case 10004:
+        opts->model = 1;
+        break;
       case '?':
       default:
         goto USAGE;