]> Dogcows Code - chaz/tar/commitdiff
Minor fix
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 16 Sep 2004 13:42:22 +0000 (13:42 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 16 Sep 2004 13:42:22 +0000 (13:42 +0000)
doc/tar.texi
src/tar.c

index ab1129c7e5e101f8181e0c579e2dcc3998767188..667e4e4c8c72dd1bb963fe692b0ff2d6ec1dcc04 100644 (file)
@@ -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}.
index 6bd831ea17a2b015aebe9ac3e2c711309c1f6f6c..ff3ebc44371602ca69a4e7ce81decbe1a573507d 100644 (file)
--- 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 },
This page took 0.040607 seconds and 4 git commands to generate.