mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
--help is only supported if you have getopt_long().
This allows bsdtar to compile on FreeBSD 4.x.
This commit is contained in:
parent
ace2c466dc
commit
cc52bf3428
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128298
@ -207,9 +207,11 @@ main(int argc, char **argv)
|
||||
case 'h': /* Linux LSB for 'tar'; synonym for -H */
|
||||
bsdtar->symlink_mode = 'H';
|
||||
break;
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
case OPTION_HELP:
|
||||
long_help();
|
||||
break;
|
||||
#endif
|
||||
case 'j': /* GNU tar */
|
||||
if (bsdtar->create_compression != '\0')
|
||||
bsdtar_errc(1, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user