Skip to content

ERROR: Unknown switch "-verify" #6

@Merculous

Description

@Merculous

Latest commit on master gives me this error:

This is the output of precomp's usage:

Precomp Neo v0.4.8 Unix 64-bit - DEVELOPMENT version - USE AT YOUR OWN RISK!
Apache 2.0 License - Precomp - Copyright 2006-2021 by Christian Schneider
  Preflate v0.3.5 support - Copyright 2018 by Dirk Steinke
  Precomp Neo fork - Copyright 2022-2023 by Nicolas Comerci

Usage: precomp [-switches] input_file

Common switches (and their <default values>):
  comfort      Read input stream for a PCF header and recompress original stream if found
               (ignoring any compression parameters), if not precompress the stream instead
  r            "Recompress" PCF file (restore original file)
  o[filename]  Write output to [filename] <[input_file].pcf or file in header>
  e            preserve original extension of input name for output name <off>
  v            Verbose (debug) mode <off>
  vstderr      Output messages to stderr instead of directly to the console <off>
  verify       Verify that precompressed data recompresses correctly with hash check <off>
  d[depth]     Set maximal recursion depth <10>
  intense      Detect raw zLib headers, too. Slower and more sensitive <off>
  t[+-][pzgnfjsmb3] Compression type switch <all enabled>
              t+ = enable these types only, t- = enable all types except these
              P = PDF, Z = ZIP, G = GZip, N = PNG, F = GIF, J = JPG
              S = SWF, M = MIME Base64, B = bZip2, 3 = MP3
  longhelp     Show long help

When supplying "-verify":

Precomp Neo v0.4.8 Unix 64-bit - DEVELOPMENT version - USE AT YOUR OWN RISK!
Apache 2.0 License - Precomp - Copyright 2006-2021 by Christian Schneider
  Preflate v0.3.5 support - Copyright 2018 by Dirk Steinke
  Precomp Neo fork - Copyright 2022-2023 by Nicolas Comerci

ERROR: Unknown switch "-verify"

I believe that you've mentioned in commit history or somewhere else in releases that verify is now enabled by default. If so, I'm assuming this is just leftover code that was missed.

OS: Ubuntu 22.04.3

I don't know C(++) but I believe 57a9042 is the culprit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions