The long option corresponding to -X is actually --strip-extra: https://sources.debian.org/src/zip/3.0-11/zip.c/#L2094
I wonder if --no-extra was intended to work slightly differently, or if the description of -X is correct. On Sun, 20 Mar 2016 00:23:02 +0100 Peter De Wachter <pdewa...@gmail.com> wrote: > Package: zip > Version: 3.0-11 > Severity: minor > > Dear Maintainer, > > The manpage documents a long option '--no-extra' as a synonym for '-X', > but this is not implemented: > > $ zip --no-extra foo.zip foo.txt > zip error: Invalid command arguments (long option 'no-extra' not supported) > > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages zip depends on: > ii libbz2-1.0 1.0.6-8 > ii libc6 2.22-3 > > Versions of packages zip recommends: > ii unzip 6.0-20 > > zip suggests no packages. > > -- no debconf information > >