bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] stricter command line options: bug or feature ?


From: Mike Frysinger
Subject: [Bug-tar] stricter command line options: bug or feature ?
Date: Wed, 5 Jan 2005 10:42:46 -0500
User-agent: KMail/1.7.2

with the switch to argp from getopt for cmd line parsing, tar has gotten a bit 
more stricter in terms of the order of arguements

for example, tar-1.14 (pre-argp) would accept this:
tar c somedir -f somefile.tar
(a tar would be created from the directory 'somedir')

however, tar-1.14.90+ (post-argp) now dumps the contents of 'somedir' to 
stdout while writing this to stderr:
tar: -f: Cannot stat: No such file or directory
tar: somefile.tar: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]