NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/53969: tar -X flag does not work as described in synopsis and in usage



>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@localhost:/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 ...]



Home | Main Index | Thread Index | Old Index