summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-20 15:55:58 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 15:55:58 +0300
commita80510875d1b44c83ac6104629460019db57aca9 (patch)
treeb102712cee46ea6d4e4408c0e4225e106d38eecd /op-mode-definitions
parent35d98c78455fe484cea18fb0c3c537059a798e17 (diff)
downloadvyos-1x-a80510875d1b44c83ac6104629460019db57aca9.tar.gz
vyos-1x-a80510875d1b44c83ac6104629460019db57aca9.zip
Escape the slash character to dodge GCC preprocessor
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/generate-public-key-command.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/op-mode-definitions/generate-public-key-command.xml.in b/op-mode-definitions/generate-public-key-command.xml.in
index 5815e5cf9..7920acffd 100644
--- a/op-mode-definitions/generate-public-key-command.xml.in
+++ b/op-mode-definitions/generate-public-key-command.xml.in
@@ -19,7 +19,8 @@
<properties>
<help>Local path or remote URL of OpenSSH public key</help>
<completionHelp>
- <list>&lt;http[s]://[&lt;username&gt;:&lt;password&gt;@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;ftp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;tftp://&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;sftp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;scp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;[file://]/&lt;path-to-file&gt;&gt;</list>
+ <!-- TODO: Replace this mess with verbatim, readable text. Till then, may gods have mercy. -->
+ <list>&lt;http[s]:&#47;&#47;[&lt;username&gt;:&lt;password&gt;@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;ftp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;tftp:&#47;&#47;&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;sftp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;scp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;[file:&#47;&#47;]&#47;&lt;path-to-file&gt;&gt;</list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/generate_public_key_command.py "$4" "$6"</command>