diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-18 21:53:35 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-11-18 21:53:35 +0100 |
commit | dcb277ba0aed4a02f48572d10d3ba242942b8639 (patch) | |
tree | 1a33b694f5a50b93adc2493750dc84f751b34b74 /interface-definitions | |
parent | 3cbc0a93f779882d133873c81b5b720f52e45975 (diff) | |
download | vyos-1x-dcb277ba0aed4a02f48572d10d3ba242942b8639.tar.gz vyos-1x-dcb277ba0aed4a02f48572d10d3ba242942b8639.zip |
config-mgmt: T4957: T2405: add proper valueHelp strings for remote URL
vyos@vyos# set system config-management commit-archive location
Possible completions:
uri Uniform Resource Identifier
Unfortunately URI is a bit "less" specific - add proper help strings:
vyos@vyos# set system config-management commit-archive location
Possible completions:
http://<user>:<passwd>@<host>/<path>
https://<user>:<passwd>@<host>/<path>
ftp://<user>:<passwd>@<host>/<path>
sftp://<user>:<passwd>@<host>/<path>
scp://<user>:<passwd>@<host>/<path>
tftp://<user>:<passwd>@<host>/<path>
git+https://<user>:<passwd>@<host>/<path>
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-config-mgmt.xml.in | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/interface-definitions/system-config-mgmt.xml.in b/interface-definitions/system-config-mgmt.xml.in index 794f9f1a0..b01b44bf9 100644 --- a/interface-definitions/system-config-mgmt.xml.in +++ b/interface-definitions/system-config-mgmt.xml.in @@ -17,8 +17,32 @@ <properties> <help>Commit archive location</help> <valueHelp> - <format>uri</format> - <description>Uniform Resource Identifier</description> + <format>http://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>https://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>ftp://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>sftp://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>scp://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>tftp://<user>:<passwd>@<host>/<path></format> + <description/> + </valueHelp> + <valueHelp> + <format>git+https://<user>:<passwd>@<host>/<path></format> + <description/> </valueHelp> <constraint> <validator name="url --file-transport"/> |