Skip to content

Commit

Permalink
Merge pull request #2931 from nickanderson/CFE-4426/master
Browse files Browse the repository at this point in the history
CFE-4426: Added inline docs showing valid values for method (field_operation) in body edit_field quoted_var
  • Loading branch information
nickanderson authored Jul 24, 2024
2 parents 3d7e40e + 79ca527 commit 08e398b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/files.cf
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 08e398b

Please sign in to comment.