rc: add options/info call to enumerate options

This also makes some fields in the Options block optional - these are
documented in rc.md
This commit is contained in:
Nick Craig-Wood
2024-07-10 18:24:13 +01:00
parent 4d2bc190cc
commit 8fbb259091
6 changed files with 163 additions and 31 deletions

View File

@@ -234,10 +234,8 @@ func TestOptionMarshalJSON(t *testing.T) {
"Name": "case_insensitive",
"FieldName": "",
"Help": "",
"Provider": "",
"Default": false,
"Value": true,
"ShortOpt": "",
"Hide": 0,
"Required": false,
"IsPassword": false,