diff options
author | erkin <e.altunbas@vyos.io> | 2021-06-20 15:55:58 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-06-20 15:55:58 +0300 |
commit | a80510875d1b44c83ac6104629460019db57aca9 (patch) | |
tree | b102712cee46ea6d4e4408c0e4225e106d38eecd /op-mode-definitions/generate-public-key-command.xml.in | |
parent | 35d98c78455fe484cea18fb0c3c537059a798e17 (diff) | |
download | vyos-1x-a80510875d1b44c83ac6104629460019db57aca9.tar.gz vyos-1x-a80510875d1b44c83ac6104629460019db57aca9.zip |
Escape the slash character to dodge GCC preprocessor
Diffstat (limited to 'op-mode-definitions/generate-public-key-command.xml.in')
-rw-r--r-- | op-mode-definitions/generate-public-key-command.xml.in | 3 |
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><http[s]://[<username>:<password>@]<hostname>/<path-to-file>> <ftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <tftp://<hostname>/<path-to-file>> <sftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <scp://[<username>[:<password>]@]<hostname>/<path-to-file>> <[file://]/<path-to-file>></list> + <!-- TODO: Replace this mess with verbatim, readable text. Till then, may gods have mercy. --> + <list><http[s]://[<username>:<password>@]<hostname>/<path-to-file>> <ftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <tftp://<hostname>/<path-to-file>> <sftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <scp://[<username>[:<password>]@]<hostname>/<path-to-file>> <[file://]/<path-to-file>></list> </completionHelp> </properties> <command>${vyos_op_scripts_dir}/generate_public_key_command.py "$4" "$6"</command> |