diff options
author | wiz <wiz@pkgsrc.org> | 2013-07-30 18:50:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-07-30 18:50:07 +0000 |
commit | 0cbb8ff76455370bb649bc2758fb8cc8c300e715 (patch) | |
tree | 838b0198ad3cd57734a2ef7b08bb108c26d15a32 /textproc/mdoclint | |
parent | efb605216965d4c66bcf5ed68ea844eb9c598cac (diff) | |
download | pkgsrc-0cbb8ff76455370bb649bc2758fb8cc8c300e715.tar.gz |
Remove mentions of -O, noone's implemented it yet or will soon.
Diffstat (limited to 'textproc/mdoclint')
-rwxr-xr-x | textproc/mdoclint/files/mdoclint | 10 | ||||
-rwxr-xr-x | textproc/mdoclint/files/mdoclint.1 | 6 |
2 files changed, 6 insertions, 10 deletions
diff --git a/textproc/mdoclint/files/mdoclint b/textproc/mdoclint/files/mdoclint index f20182435bf..bdf645eaed9 100755 --- a/textproc/mdoclint/files/mdoclint +++ b/textproc/mdoclint/files/mdoclint @@ -1,7 +1,7 @@ #!@PERL5@ # # $OpenBSD: mdoclint,v 1.14 2009/04/13 12:40:05 espie Exp $ -# $NetBSD: mdoclint,v 1.35 2013/07/30 18:46:29 wiz Exp $ +# $NetBSD: mdoclint,v 1.36 2013/07/30 18:50:07 wiz Exp $ # # Copyright (c) 2001-2013 Thomas Klausner # All rights reserved. @@ -46,14 +46,14 @@ use constant { use vars qw( $opt_A $opt_a $opt_D $opt_d $opt_e $opt_F $opt_f $opt_H $opt_h $opt_l $opt_m - $opt_n $opt_O $opt_o $opt_P $opt_p $opt_r $opt_S $opt_s $opt_v $opt_w + $opt_n $opt_o $opt_P $opt_p $opt_r $opt_S $opt_s $opt_v $opt_w $opt_X $opt_x ); my $arch=`uname -m`; chomp($arch); -my $options="AaDdeFfHhlmnOoPprSsvwXx"; +my $options="AaDdeFfHhlmnoPprSsvwXx"; sub usage { @@ -270,11 +270,11 @@ sub handle_options # default to all warnings if no flag is set unless ($opt_A or $opt_a or $opt_D or $opt_d or $opt_e or $opt_f or $opt_H or $opt_l - or $opt_m or $opt_n or $opt_O + or $opt_m or $opt_n or $opt_o or $opt_P or $opt_p or $opt_r or $opt_S or $opt_s or $opt_X or $opt_x) { $opt_A = $opt_a = $opt_D = $opt_d = $opt_f = $opt_m = - $opt_n = $opt_O = $opt_o = $opt_P = $opt_p = $opt_r = $opt_S = + $opt_n = $opt_o = $opt_P = $opt_p = $opt_r = $opt_S = $opt_s = $opt_X = $opt_x = 1; $opt_e = $opt_l = 1 if NETBSD; } diff --git a/textproc/mdoclint/files/mdoclint.1 b/textproc/mdoclint/files/mdoclint.1 index 8498fa0fcde..d772b2a1711 100755 --- a/textproc/mdoclint/files/mdoclint.1 +++ b/textproc/mdoclint/files/mdoclint.1 @@ -1,5 +1,5 @@ .\" $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $ -.\" $NetBSD: mdoclint.1,v 1.9 2013/07/30 18:37:56 wiz Exp $ +.\" $NetBSD: mdoclint.1,v 1.10 2013/07/30 18:50:07 wiz Exp $ .\" .\" Copyright (c) 2001-2013 Thomas Klausner .\" All rights reserved. @@ -99,10 +99,6 @@ format. .It Fl n Warn when the .Nd macro's argument ends in a dot, that is .Sq \&. . -.It Fl O -Warn about unsorted -.Dq .It -macros. .It Fl o Warn when the .Os macro has an argument (it shouldn't have one at least in the base system, because on |