From: Tim Kientzle Date: Fri, 20 Jun 2008 19:15:24 +0000 (-0400) Subject: Gratuitous long option synonyms from GNU tar. X-Git-Tag: v2.6.0~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdb7f73b3ee07cb506e615202771c72c5a55f24b;p=thirdparty%2Flibarchive.git Gratuitous long option synonyms from GNU tar. SVN-Revision: 133 --- diff --git a/cpio/cmdline.c b/cpio/cmdline.c index 75857c1cd..29183f1ca 100644 --- a/cpio/cmdline.c +++ b/cpio/cmdline.c @@ -82,13 +82,21 @@ static const char *cpio_opts = "0AaBC:F:O:cdE:f:H:hijLlmopR:rtuvW:yZz"; * sorted, as the -W logic below relies on it. */ static const struct option cpio_longopts[] = { + { "create", no_argument, NULL, 'o' }, + { "extract", no_argument, NULL, 'i' }, { "file", required_argument, NULL, 'F' }, { "format", required_argument, NULL, 'H' }, { "help", no_argument, NULL, 'h' }, { "insecure", no_argument, NULL, OPTION_INSECURE }, + { "link", no_argument, NULL, 'l' }, + { "list", no_argument, NULL, 't' }, + { "make-directories", no_argument, NULL, 'd' }, { "null", no_argument, NULL, '0' }, { "owner", required_argument, NULL, 'R' }, + { "pass-through", no_argument, NULL, 'p' }, + { "preserve-modification-time", no_argument, NULL, 'm' }, { "quiet", no_argument, NULL, OPTION_QUIET }, + { "unconditional", no_argument, NULL, 'u' }, { "verbose", no_argument, NULL, 'v' }, { "version", no_argument, NULL, OPTION_VERSION }, { NULL, 0, NULL, 0 }