NetBSD Problem Report #53969

From www@NetBSD.org  Tue Feb 12 00:24:17 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EC9537A154
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Feb 2019 00:24:16 +0000 (UTC)
Message-Id: <20190212002416.20BA87A1F5@mollari.NetBSD.org>
Date: Tue, 12 Feb 2019 00:24:16 +0000 (UTC)
From: guest01@domena.pl
Reply-To: guest01@domena.pl
To: gnats-bugs@NetBSD.org
Subject: tar -X flag does not work as described in synopsis and in usage
X-Send-Pr-Version: www-1.0

>Number:         53969
>Category:       misc
>Synopsis:       tar -X flag does not work as described in synopsis and in usage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 00:25:00 +0000 2019
>Originator:     Guest01
>Release:        NetBSD 8.0
>Organization:
-
>Environment:
NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
-X flag in synopis and usage is listed among other flags and should be separeted like -T flag
>How-To-Repeat:
Write 'man tar' and you'll get SYNOPSIS:
tar [-]{crtux}[-014578befHhJjklmOoPpqSvwXZz] [archive] [blocksize]
         [-C directory] [-s replstr] [-T file] [file ...]

Write 'tar: and you'll get:
usage: tar [-]{crtux}[-befhjklmopqvwzHJOPSXZ014578] [archive] [blocksize]
           [-C directory] [-T file] [-s replstr] [file ...]

>Fix:
You need to improve the tar SYNOPSIS for X flag:
tar [-]{crtux}[-014578befHhJjklmOoPpqSvwZz] [archive] [blocksize]
         [-C directory] [-s replstr] [-T file] [-X file] [file ...]

You need to improve the tar usage descritpion for X flag:
usage: tar [-]{crtux}[-befhjklmopqvwzHJOPSZ014578] [archive] [blocksize]
           [-C directory] [-T file] [-X file] [-s replstr] [file ...]

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.