/[svn]/linuxsampler/trunk/scripts/generate_lscp_shell_reference.pl
ViewVC logotype

Diff of /linuxsampler/trunk/scripts/generate_lscp_shell_reference.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2534 by schoenebeck, Sun Mar 9 21:34:03 2014 UTC revision 3052 by schoenebeck, Wed Dec 14 17:34:54 2016 UTC
# Line 2  Line 2 
2    
3  # Updates the built-in LSCP documentation reference of the LSCP shell.  # Updates the built-in LSCP documentation reference of the LSCP shell.
4  #  #
5  # Copyright (c) 2014 Christian Schoenebeck  # Copyright (c) 2014-2016 Christian Schoenebeck
6  #  #
7  # Extracts all sections from Documentation/lscp.xml marked with our magic  # Extracts all sections from Documentation/lscp.xml marked with our magic
8  # XML attribute "lscp_cmd=true" (and uses the section's "anchor" XML attribute  # XML attribute "lscp_cmd=true" (and uses the section's "anchor" XML attribute
# Line 144  package main; Line 144  package main;
144    
145  # parse command line argument(s)  # parse command line argument(s)
146  my $g_debug_xml_extract = 0;  my $g_debug_xml_extract = 0;
147  if (defined($ARGV[0]) and $ARGV[0] eq "--debug-xml-extract") {  foreach $arg (@ARGV) {
148      $g_debug_xml_extract = 1;      if ($arg eq "--debug-xml-extract") {
149            $g_debug_xml_extract = 1;
150        } elsif ($arg =~ /^--output/) { # argument --output=OUTFILE
151            my ($name, $value) = split(/=|\s+/, $arg); # key value separated by space or "=" character
152            $REFERENCE_CPP_FILE = $value;
153        }
154  }  }
155    
156  # will be populated by collectCommands()  # will be populated by collectCommands()

Legend:
Removed from v.2534  
changed lines
  Added in v.3052

  ViewVC Help
Powered by ViewVC