VirtualBox

Changeset 56368 in vbox for trunk/doc


Ignore:
Timestamp:
Jun 11, 2015 3:22:04 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100960
Message:

Only show the extpack example for the uninstall subcommand (+ the whole thing).

Location:
trunk/doc/manual
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-refentry-to-C-help.xsl

    r56367 r56368  
    563563  <xsl:template name="calc-scope-consts-from-remark">
    564564    <xsl:param name="sCondition" select="remark/@condition"/>
    565     <xsl:variable name="sNormalized" select="normalize-space(translate($sCondition, ',;:', '   '))"/>
    566     <xsl:if test="$sNormalized = ''">
     565    <xsl:variable name="sNormalized" select="concat(normalize-space(translate($sCondition, ',;:|', '    ')), ' ')"/>
     566    <xsl:if test="$sNormalized = ' ' or $sNormalized = ''">
    567567      <xsl:message terminate="yes">Empty @condition for help-scope remark.</xsl:message>
    568568    </xsl:if>
    569     <xsl:text>HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sList, ' ')"/>
     569    <xsl:text>HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sNormalized, ' ')"/>
    570570    <xsl:call-template name="calc-scope-const-from-remark-worker">
    571571      <xsl:with-param name="sList" select="substring-after($sNormalized, ' ')"/>
     
    575575  <xsl:template name="calc-scope-const-from-remark-worker">
    576576    <xsl:param name="sList"/>
    577     <xsl:if test="$List != ''">
     577    <xsl:if test="$sList != ''">
    578578      <xsl:text> | HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sList, ' ')"/>
    579579      <xsl:call-template name="calc-scope-const-from-remark-worker">
  • trunk/doc/manual/en_US/man_VBoxManage_extpack.xml

    r56367 r56368  
    115115  </refsect1>
    116116
    117   <refsect1> <!-- no id attr here => global scope. -->
     117  <refsect1>
    118118    <title>Examples</title>
    119     <para>How to list extension packs:
     119    <remark role="help-scope" condition="EXTPACK_UNINSTALL,EXTPACK"/>
     120    <para>
     121          How to list extension packs:
    120122<screen>$ VBoxManage list extpacks
    121123Extension Packs: 1
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette