Add jq --raw-output option

This commit is contained in:
Lucidiot 2021-04-05 22:53:56 +02:00
parent f3de071a2d
commit 45e5be4ef4
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
1 changed files with 6 additions and 1 deletions

View File

@ -159,7 +159,12 @@ fi
<xsl:template match="itsb:jq">
<xsl:text>jq \
-L $DIR/jq \
-f $DIR/jq/</xsl:text>
</xsl:text>
<xsl:if test="@raw-output = 'true'">
<xsl:text>-r \
</xsl:text>
</xsl:if>
<xsl:text>-f $DIR/jq/</xsl:text>
<xsl:value-of select="@path" />
<xsl:for-each select="./itsb:arg">
<xsl:text> \