Better documentation of defaults
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 3 Sep 2024 16:37:22 +0000 (11:37 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 3 Sep 2024 16:37:22 +0000 (11:37 -0500)
examples/etc/pgwui.yaml

index 1d3f9f90d6a49ddf74e182f2f34b8d57225e4dd0..a500eeb17a75068a1468f05be8a55641460607f8 100644 (file)
@@ -275,7 +275,7 @@ app:
     #
     # The available choices are:
     #   yes-always    Always transform some data into NULL.
-    #   choice-yes    Present a checkbox, default to "yes".
+    #   choice-yes    Present a checkbox, default to "yes". (default)
     #   choice-no     Present a checkbox, default to "no".
     #   no-never      Never transform data into NULL.
     #
@@ -283,7 +283,7 @@ app:
     # The format of the uploaded file
     #
     # The available choices are:
-    #   csv           The CSV format.
+    #   csv           The CSV format. (default)
     #   tab           Tab separated values.
 
 
@@ -297,7 +297,7 @@ app:
     #   null: 'choice-yes'
     #   file_format: 'csv'
     #
-    # literal_column_headings: 'no-never'
+    # literal_column_headings: 'no-never' (default)
     #   Take uploaded column headings literally?
     #   See pgwui_upload above for details.
     #
@@ -342,15 +342,15 @@ app:
     #   It is recommended to enclose file names which contain spaces, or begin
     #   with a digit, in single quotes.  But any YAML syntax is valid.
     #
-    # trim: 'choice-yes'
+    # trim: 'choice-yes' (default)
     #   Remove leading and trailing whitespace.
     #   See pgwui_upload above for details.
     #
-    # null: 'choice-yes'
+    # null: 'choice-yes' (default)
     #   Insert NULL values.
     #   See pgwui_upload above for details.
     #
-    # file_format: 'csv'
+    # file_format: 'csv' (default)
     #   The format of the uploaded files.
     #   See pgwui_upload above for details.