cmdline.c (302408) | cmdline.c (305188) |
---|---|
1/*- 2 * Copyright (c) 2003-2008 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26/* 27 * Command line parser for tar. 28 */ 29 30#include "bsdtar_platform.h" | 1/*- 2 * Copyright (c) 2003-2008 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26/* 27 * Command line parser for tar. 28 */ 29 30#include "bsdtar_platform.h" |
31__FBSDID("$FreeBSD: stable/11/contrib/libarchive/tar/cmdline.c 299529 2016-05-12 10:16:16Z mm $"); | 31__FBSDID("$FreeBSD: stable/11/contrib/libarchive/tar/cmdline.c 305188 2016-09-01 07:53:59Z mm $"); |
32 33#ifdef HAVE_ERRNO_H 34#include <errno.h> 35#endif 36#ifdef HAVE_STDLIB_H 37#include <stdlib.h> 38#endif 39#ifdef HAVE_STRING_H --- 23 unchanged lines hidden (view full) --- 63 int required; /* 1 if this option requires an argument. */ 64 int equivalent; /* Equivalent short option. */ 65} tar_longopts[] = { 66 { "absolute-paths", 0, 'P' }, 67 { "append", 0, 'r' }, 68 { "auto-compress", 0, 'a' }, 69 { "b64encode", 0, OPTION_B64ENCODE }, 70 { "block-size", 1, 'b' }, | 32 33#ifdef HAVE_ERRNO_H 34#include <errno.h> 35#endif 36#ifdef HAVE_STDLIB_H 37#include <stdlib.h> 38#endif 39#ifdef HAVE_STRING_H --- 23 unchanged lines hidden (view full) --- 63 int required; /* 1 if this option requires an argument. */ 64 int equivalent; /* Equivalent short option. */ 65} tar_longopts[] = { 66 { "absolute-paths", 0, 'P' }, 67 { "append", 0, 'r' }, 68 { "auto-compress", 0, 'a' }, 69 { "b64encode", 0, OPTION_B64ENCODE }, 70 { "block-size", 1, 'b' }, |
71 { "blocking-factor", 1, 'b' }, |
|
71 { "bunzip2", 0, 'j' }, 72 { "bzip", 0, 'j' }, 73 { "bzip2", 0, 'j' }, 74 { "cd", 1, 'C' }, 75 { "check-links", 0, OPTION_CHECK_LINKS }, 76 { "chroot", 0, OPTION_CHROOT }, 77 { "clear-nochange-fflags", 0, OPTION_CLEAR_NOCHANGE_FFLAGS }, 78 { "compress", 0, 'Z' }, --- 326 unchanged lines hidden --- | 72 { "bunzip2", 0, 'j' }, 73 { "bzip", 0, 'j' }, 74 { "bzip2", 0, 'j' }, 75 { "cd", 1, 'C' }, 76 { "check-links", 0, OPTION_CHECK_LINKS }, 77 { "chroot", 0, OPTION_CHROOT }, 78 { "clear-nochange-fflags", 0, OPTION_CLEAR_NOCHANGE_FFLAGS }, 79 { "compress", 0, 'Z' }, --- 326 unchanged lines hidden --- |