1
0
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:
Tim Kientzle 2004-04-16 03:50:04 +00:00
parent ace2c466dc
commit cc52bf3428
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128298

View File

@ -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,