From 79ca527402a8944136f2b52b1b851dd26af7ec63 Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Wed, 24 Jul 2024 14:27:49 -0500 Subject: [PATCH] Added inline docs showing valid values for method (field_operation) in body edit_field quoted_var This is just a small change so that a user doesn't have to hunt down the valid options to know what's available. Ticket: CFE-4426 Changelog: Title --- lib/files.cf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/files.cf b/lib/files.cf index 5122e4e32d..dfa485b08a 100644 --- a/lib/files.cf +++ b/lib/files.cf @@ -1243,7 +1243,8 @@ body edit_field fstab_options(newval, method) body edit_field quoted_var(newval,method) # @brief Edit the quoted value of the matching line # @param newval The new value -# @param method The method by which to edit the field +# @param method The method by which to edit the field (append|prepend|alphanum|set|delete) +# Ref https://docs.cfengine.com/latest/reference-promise-types-files-edit_line-field_edits.html#field_operation { field_separator => "\""; select_field => "2";