Permalink
Browse files

pbc_dump: enable option -h --header-only

Broken since the packfile API redesign
  • Loading branch information...
1 parent 0cc54e6 commit a3f99d31110f070c8982177af5240a9971fc0567 Reini Urban committed Sep 4, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 frontend/pbc_dump/main.c
@@ -433,6 +433,11 @@ main(int argc, const char **argv)
return 1;
}
+ if (options & PFOPT_HEADERONLY) {
+ PackFile_header_dump(interp, pf);
+ Parrot_x_exit(interp, 0);
+ }
+
pfpmc = Parrot_pf_get_packfile_pmc(interp, pf, infilename);
Parrot_pf_set_current_packfile(interp, pfpmc);

0 comments on commit a3f99d3

Please sign in to comment.