fcorbelli / zpaqfranz

Deduplicating archiver with encryption and paranoid-level tests. Swiss army knife for the serious backup and disaster recovery manager. Ransomware neutralizer. Win/Linux/Unix
MIT License
278 stars 25 forks source link

Help prints twice on Ubuntu 20.04 using g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 #1

Closed Toys0125 closed 3 years ago

Toys0125 commented 3 years ago
zpaq --help
zpaqfranz v50.13-experimental journaling archiver, compiled Mar 22 2021
Unknown option ignored: --help
Usage: zpaqfranz command archive[.zpaq] files|directory... -options...
Use ???? in archive name for multi-part ex "test_????.zpaq
Commands:
   a             Append files (-checksum -force -crc32 -comment foo -test)
   x             Extract versions of files (-until N -comment foo)
   l             List files (-all -checksum -find something -comment foo)
   l d0 d1 d2... Compare content agains directory d0, d1, d2...
   c d0 d1 d2... Quickly compare dir d0 to d1,d2... (-all M/T scan -crc32)
   s d0 d1 d2... Cumulative size (excluding .zfs) of d0,d1,d2 (-all M/T)
   t             Fast test of most recent version of files (-verify -verbose)
   p             Paranoid test. Use lots of RAM (-verbose)
   sha1          Calculate hash (-sha256 -crc32 -crc32c -xxhash)
   dir           Like Windows dir/find duplicates (/s /a /os /od, -crc32)
   help          Long help (-h, -he examples, -diff differences)
Optional switch(es):
  -all [N]       Extract/list versions in N [4] digit directories
  -f -force      Add: append files if contents have changed
                 Extract: overwrite existing output files
  -key X         Create or access encrypted archive with password X
  -mN  -method N Compress level N (0..5 = faster..better, default 1)
  -test          Extract: verify but do not write files
                 Add: Post-check of files (-verify for CRC-32)
  -to out...     Prefix files... to out... or all to out/all
  -until N       Roll back archive to N'th update or -N from end
  -comment foo   Add/find ASCII comment string to versions
Usage: zpaqfranz command archive[.zpaq] files|directory... -options...
Use ???? in archive name for multi-part ex "test_????.zpaq
Commands:
   a             Append files (-checksum -force -crc32 -comment foo -test)
   x             Extract versions of files (-until N -comment foo)
   l             List files (-all -checksum -find something -comment foo)
   l d0 d1 d2... Compare content agains directory d0, d1, d2...
   c d0 d1 d2... Quickly compare dir d0 to d1,d2... (-all M/T scan -crc32)
   s d0 d1 d2... Cumulative size (excluding .zfs) of d0,d1,d2 (-all M/T)
   t             Fast test of most recent version of files (-verify -verbose)
   p             Paranoid test. Use lots of RAM (-verbose)
   sha1          Calculate hash (-sha256 -crc32 -crc32c -xxhash)
   dir           Like Windows dir/find duplicates (/s /a /os /od, -crc32)
   help          Long help (-h, -he examples, -diff differences)
Optional switch(es):
  -all [N]       Extract/list versions in N [4] digit directories
  -f -force      Add: append files if contents have changed
                 Extract: overwrite existing output files
  -key X         Create or access encrypted archive with password X
  -mN  -method N Compress level N (0..5 = faster..better, default 1)
  -test          Extract: verify but do not write files
                 Add: Post-check of files (-verify for CRC-32)
  -to out...     Prefix files... to out... or all to out/all
  -until N       Roll back archive to N'th update or -N from end
  -comment foo   Add/find ASCII comment string to versions

0.021 seconds (all OK)
fcorbelli commented 3 years ago

The report is true.

Help management is particular ("magical") in the parsing of command line parameters, with an error to correct. Fixed in build 17 (I hope!)

Thank you