anonymize.c 298 B

1234567891011121314
  1. #include <stdio.h>
  2. #include "zip.h"
  3. int main(int argc, char **argv) {
  4. if (argc < 2) {
  5. printf("Usage: %s <path_to_DOCX>\n", argv[0]);
  6. printf("Optionaly provide output file as second argument.\n");
  7. }
  8. if (argc > 2)
  9. process(argv[1], argv[2]);
  10. else if (argc > 1)
  11. process(argv[1], NULL);
  12. }