From e370518b431746f9d427be2487a5065112a45df6 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 16 Sep 2004 13:42:22 +0000 Subject: [PATCH] Minor fix --- doc/tar.texi | 2 +- src/tar.c | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/tar.texi b/doc/tar.texi index ab1129c..667e4e4 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -5302,7 +5302,7 @@ to comparing directories; this is fairly gross, but there does not seem to be a better way to go. @command{tar} doesn't access @var{snapshot-file} when -@value{op-create} or @value{op-list} are specified, but the +@value{op-extract} or @value{op-list} are specified, but the @value{op-listed-incremental} option must still be given. A placeholder @var{snapshot-file} can be specified, e.g., @file{/dev/null}. diff --git a/src/tar.c b/src/tar.c index 6bd831e..ff3ebc4 100644 --- a/src/tar.c +++ b/src/tar.c @@ -364,7 +364,8 @@ static struct argp_option options[] = { {"rsh-command", RSH_COMMAND_OPTION, N_("COMMAND"), 0, N_("use remote COMMAND instead of rsh"), 41 }, #ifdef DEVICE_PREFIX - {"-[0-7][lmh]", 0, NULL, OPTION_DOC, + {"-[0-7][lmh]", 0, NULL, OPTION_DOC, /* It is OK, since `name' will never be + translated */ N_("specify drive and density"), 41 }, #endif {NULL, '0', NULL, OPTION_HIDDEN, NULL, 41 }, @@ -406,12 +407,13 @@ static struct argp_option options[] = { {"format", 'H', N_("FORMAT"), 0, N_("create archive of the given format."), 61 }, - {"", 0, NULL, OPTION_DOC, N_("FORMAT is one of the following:"), 62}, - {"", 0, NULL, OPTION_DOC, N_("v7 old V7 tar format"), 63}, - {"", 0, NULL, OPTION_DOC, N_("oldgnu GNU format as per tar <= 1.12"), 63}, - {"", 0, NULL, OPTION_DOC, N_("gnu GNU tar 1.13.x format"), 63}, - {"", 0, NULL, OPTION_DOC, N_("ustar POSIX 1003.1-1988 (ustar) format"), 63 }, - {"", 0, NULL, OPTION_DOC, N_("posix POSIX 1003.1-2001 (pax) format"), 63 }, + {NULL, 0, NULL, 0, N_("FORMAT is one of the following:"), 62 }, + {" v7", 0, NULL, OPTION_DOC, N_("old V7 tar format"), 63}, + {" oldgnu", 0, NULL, OPTION_DOC, N_("GNU format as per tar <= 1.12"), 63}, + {" gnu", 0, NULL, OPTION_DOC, N_("GNU tar 1.13.x format"), 63}, + {" ustar", 0, NULL, OPTION_DOC, N_("POSIX 1003.1-1988 (ustar) format"), 63 }, + {" pax", 0, NULL, OPTION_DOC, N_("POSIX 1003.1-2001 (pax) format"), 63 }, + {" posix", 0, NULL, OPTION_DOC, N_("Same as pax"), 63 }, {"old-archive", OLD_ARCHIVE_OPTION, 0, 0, /* FIXME */ N_("same as --format=v7"), 68 }, -- 2.45.2