X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/06769e4211d90006be067f7b03bb4bb1cf07e31c..4f41c7f7892c7e65393723aa8fdffc236d959fb7:/Command.cpp diff --git a/Command.cpp b/Command.cpp index 89942de..607056a 100644 --- a/Command.cpp +++ b/Command.cpp @@ -479,6 +479,11 @@ int doDump(Bundle* bundle) #ifndef HAVE_ANDROID_OS res.print(bundle->getValues()); #endif + + } else if (strcmp("strings", option) == 0) { + const ResStringPool* pool = res.getTableStringBlock(0); + printStringPool(pool); + } else if (strcmp("xmltree", option) == 0) { if (bundle->getFileSpecCount() < 3) { fprintf(stderr, "ERROR: no dump xmltree resource file specified\n"); @@ -1382,7 +1387,7 @@ int doDump(Bundle* bundle) delete dir; } } else if (strcmp("badger", option) == 0) { - printf(CONSOLE_DATA); + printf("%s", CONSOLE_DATA); } else if (strcmp("configurations", option) == 0) { Vector configs; res.getConfigurations(&configs);