summaryrefslogtreecommitdiff
path: root/doc/preseed.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/preseed.txt')
-rw-r--r--doc/preseed.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/preseed.txt b/doc/preseed.txt
index 5603423..71903f2 100644
--- a/doc/preseed.txt
+++ b/doc/preseed.txt
@@ -6,5 +6,15 @@ some of its derivatives. As the preseed files typically either have "txt" or
simply no file extension, filetype detection relies on their first line being
`#_preseed_V1`.
- *preseed-settings*
-This plugin doesn't have any settings.
+ *preseed_add_sh_pattern* *preseed-settings*
+
+Any custom questions can be set to have their arguments set as shell, just like
+for `preseed/include_command` and friends, by setting 'preseed_add_sh_pattern'.
+
+e.g.:
+
+ let g:preseed_add_sh_pattern = '\(site_pkg/some_question\|my_pkg/a_question\)
+
+Needing to set the pattern for any widely available package is to be considered
+a bug. Please report if required to override the pattern to match a question
+expecting a shell command argument for any package included in debian.