Parcourir la source

dpkg-deb: Remove undocumented compression long options

At least --compress_type is bogus, and --compression might be confusing.
Remove them for now.
Guillem Jover il y a 14 ans
Parent
commit
9949ce05d1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      dpkg-deb/main.c

+ 2 - 2
dpkg-deb/main.c

@@ -183,8 +183,8 @@ static const struct cmdinfo cmdinfos[]= {
   { "debug",         'D', 0, &debugflag,     NULL,         NULL,          1 },
   { "debug",         'D', 0, &debugflag,     NULL,         NULL,          1 },
   { "verbose",       'v', 0, &opt_verbose,   NULL,         NULL,          1 },
   { "verbose",       'v', 0, &opt_verbose,   NULL,         NULL,          1 },
   { "nocheck",       0,   0, &nocheckflag,   NULL,         NULL,          1 },
   { "nocheck",       0,   0, &nocheckflag,   NULL,         NULL,          1 },
-  { "compression",   'z', 1, NULL,           NULL,         set_compress_level },
-  { "compress_type", 'Z', 1, NULL,           NULL,         setcompresstype  },
+  { NULL,            'z', 1, NULL,           NULL,         set_compress_level },
+  { NULL,            'Z', 1, NULL,           NULL,         setcompresstype  },
   { NULL,            'S', 1, NULL,           &compress_params.strategy, NULL },
   { NULL,            'S', 1, NULL,           &compress_params.strategy, NULL },
   { "showformat",    0,   1, NULL,           &showformat,  NULL             },
   { "showformat",    0,   1, NULL,           &showformat,  NULL             },
   { "help",          'h', 0, NULL,           NULL,         usage            },
   { "help",          'h', 0, NULL,           NULL,         usage            },