From 4aebb1f12756593408d6f012adb923e4c9b81e1e Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Sat, 24 Oct 2020 21:18:22 +0200 Subject: [PATCH] [type/__uci*] Update man.rst regarding quoting requirements --- cdist/conf/type/__uci/man.rst | 2 ++ cdist/conf/type/__uci_section/man.rst | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/cdist/conf/type/__uci/man.rst b/cdist/conf/type/__uci/man.rst index 9d33d618..c7f5f4f0 100644 --- a/cdist/conf/type/__uci/man.rst +++ b/cdist/conf/type/__uci/man.rst @@ -23,6 +23,8 @@ value Due to the way cdist handles arguments, values **must not** contain newline characters. + Values do not need special quoting for UCI. The only requirement is that the + value is passed to the type as a single shell argument. OPTIONAL PARAMETERS ------------------- diff --git a/cdist/conf/type/__uci_section/man.rst b/cdist/conf/type/__uci_section/man.rst index b8829433..753d00b3 100644 --- a/cdist/conf/type/__uci_section/man.rst +++ b/cdist/conf/type/__uci_section/man.rst @@ -34,6 +34,10 @@ list same ``