mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-22 15:47:37 +00:00
style(9) fix to add whitespace around an '=' sign and restore
a comment that got accidentally dropped.
This commit is contained in:
parent
d7740aea75
commit
9ef493f9c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177214
@ -136,7 +136,7 @@ static const char *tar_opts = "+Bb:C:cf:HhI:jkLlmnOoPprtT:UuvW:wX:xyZz";
|
|||||||
|
|
||||||
/* Fake short equivalents for long options that otherwise lack them. */
|
/* Fake short equivalents for long options that otherwise lack them. */
|
||||||
enum {
|
enum {
|
||||||
OPTION_CHECK_LINKS=1,
|
OPTION_CHECK_LINKS = 1,
|
||||||
OPTION_CHROOT,
|
OPTION_CHROOT,
|
||||||
OPTION_EXCLUDE,
|
OPTION_EXCLUDE,
|
||||||
OPTION_FORMAT,
|
OPTION_FORMAT,
|
||||||
@ -631,6 +631,7 @@ main(int argc, char **argv)
|
|||||||
if (bsdtar->option_warn_links)
|
if (bsdtar->option_warn_links)
|
||||||
only_mode(bsdtar, "--check-links", "cr");
|
only_mode(bsdtar, "--check-links", "cr");
|
||||||
|
|
||||||
|
/* Check other parameters only permitted in certain modes. */
|
||||||
if (bsdtar->create_compression != '\0') {
|
if (bsdtar->create_compression != '\0') {
|
||||||
strcpy(buff, "-?");
|
strcpy(buff, "-?");
|
||||||
buff[1] = bsdtar->create_compression;
|
buff[1] = bsdtar->create_compression;
|
||||||
|
Loading…
Reference in New Issue
Block a user