Changeset d5bd4bc in git for doc/pl2doc.pl


Ignore:
Timestamp:
Mar 13, 2013, 4:49:38 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
04e7556fe730216bd564bec951a95057bd31b6fc
Parents:
ede7a69d54c25b9d0c8b81afc4a499d622183a15ed29fb4605d820ab1aafd221b2254f3a72ef4c3c
Message:
Merge pull request #306 from mmklee/switch

chg: removed switching off of switches
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/pl2doc.pl

    red29fb rd5bd4bc  
    2020  if (/^-o$/)    { $out_file = shift(@ARGV); next;}
    2121  if (/^-db$/) { $db_file = shift(@ARGV); next;}
     22  if (/^-tag$/) { $tag = $tag . " tag:" . shift(@ARGV); next;}
    2223  if (/^-no_fun$/)    { $no_fun = 1;next;}
    2324  if (/^-doc$/)       { $doc = 1; next;}
     
    120121    {
    121122      print LDOC "\@strong{Example:}\n";
    122       print LDOC "\@smallexample\n\@c example\n";
     123      print LDOC "\@smallexample\n\@c example$tag\n";
    123124      print LDOC $ex;
    124125      print LDOC "\n\@c example\n\@end smallexample\n";
Note: See TracChangeset for help on using the changeset viewer.