From: don Date: Fri, 13 Jul 2012 22:47:00 +0000 (+0000) Subject: fix compatability spelling error X-Git-Tag: debian/20170521-1~25 X-Git-Url: https://git.donarmstrong.com/?p=perltidy.git;a=commitdiff_plain;h=7a0994daa5c5742dd283545caeef1b46a271764b fix compatability spelling error --- diff --git a/bin/perltidy b/bin/perltidy index 7a01c08..06c856b 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -616,7 +616,7 @@ B<-cbi> or B<--closing-brace-indentation> controls non-block B<}>'s. The B<-icp> flag is equivalent to B<-cti=2>, described in the previous section. The B<-nicp> flag is -equivalent B<-cti=0>. They are included for backwards compatability. +equivalent B<-cti=0>. They are included for backwards compatibility. =item B<-icb>, B<--indent-closing-brace> @@ -2151,7 +2151,7 @@ for the previous item B<-blbs=n>. =item B<-bbs>, B<--blanks-before-subs> -For compatability with previous versions, B<-bbs> or B<--blanks-before-subs> +For compatibility with previous versions, B<-bbs> or B<--blanks-before-subs> is equivalent to F<-blbp=1> and F<-blbs=1>. Likewise, B<-nbbs> or B<--noblanks-before-subs> @@ -2217,12 +2217,12 @@ The default is B. =item B<-sob>, B<--swallow-optional-blank-lines> -This is equivalent to B and is included for compatability with +This is equivalent to B and is included for compatibility with previous versions. =item B<-nsob>, B<--noswallow-optional-blank-lines> -This is equivalent to B and is included for compatability with +This is equivalent to B and is included for compatibility with previous versions. =back diff --git a/docs/perltidy.1 b/docs/perltidy.1 index 746af72..6856b72 100644 --- a/docs/perltidy.1 +++ b/docs/perltidy.1 @@ -2263,7 +2263,7 @@ This parameter interacts with the value \fBk\fR of the parameter for the previous item \fB\-blbs=n\fR. .IP "\fB\-bbs\fR, \fB\-\-blanks\-before\-subs\fR" 4 .IX Item "-bbs, --blanks-before-subs" -For compatability with previous versions, \fB\-bbs\fR or \fB\-\-blanks\-before\-subs\fR +For compatibility with previous versions, \fB\-bbs\fR or \fB\-\-blanks\-before\-subs\fR is equivalent to \fI\-blbp=1\fR and \fI\-blbs=1\fR. .Sp Likewise, \fB\-nbbs\fR or \fB\-\-noblanks\-before\-subs\fR diff --git a/lib/Perl/Tidy.pm b/lib/Perl/Tidy.pm index 64e72d5..07fc41a 100644 --- a/lib/Perl/Tidy.pm +++ b/lib/Perl/Tidy.pm @@ -7361,7 +7361,7 @@ EOM } } - # At present, tabs are not compatable with the line-up-parentheses style + # At present, tabs are not compatible with the line-up-parentheses style # (it would be possible to entab the total leading whitespace # just prior to writing the line, if desired). if ( $rOpts->{'line-up-parentheses'} && $rOpts->{'tabs'} ) { @@ -7371,7 +7371,7 @@ EOM $rOpts->{'tabs'} = 0; } - # Likewise, tabs are not compatable with outdenting.. + # Likewise, tabs are not compatible with outdenting.. if ( $rOpts->{'outdent-keywords'} && $rOpts->{'tabs'} ) { warn <{_line_text} = $input_line; # update