]> git.ardis.lu - sheets-db/commitdiff
Add whitespace in the help message
authorArdis Lu <ardisglu@gmail.com>
Sat, 18 Dec 2021 07:25:58 +0000 (23:25 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 18 Dec 2021 07:25:58 +0000 (23:25 -0800)
GAS dialogs ignore leading whitespace so this improves code readability

Code.gs

diff --git a/Code.gs b/Code.gs
index 250345096804b9dd14e9d2bb72a17931a46db7e2..be103d2e32eda28b813150e013f9a4f93b7b88f6 100644 (file)
--- a/Code.gs
+++ b/Code.gs
@@ -18,17 +18,17 @@ function showHelp() {
 
   const helpMessage = `Welcome to sheets-db!
 
-USAGE:
-- Edit the data on this workbook like you would on any other Google Sheet, noting KEY ASSUMPTIONS below.
-- When ready, press the "🟢 Start" button to generate a SQLite database from the data on this workbook!
-
-KEY ASSUMPTIONS: 
-- Each tab in this workbook is a data table
-- The first row specifies the SQLite data type for the column (i.e. it is not part of the dataset)
-- The second row is a header row (i.e. it is not part of the dataset)
-- Every other row is part of the dataset
-- All dataset values are valid
-- There are no empty rows or empty columns`;
+  USAGE:
+  - Edit the data on this workbook like you would on any other Google Sheet, noting KEY ASSUMPTIONS below.
+  - When ready, press the "🟢 Start" button to generate a SQLite database from the data on this workbook!
+
+  KEY ASSUMPTIONS: 
+  - Each tab in this workbook is a data table
+  - The first row specifies the SQLite data type for the column (i.e. it is not part of the dataset)
+  - The second row is a header row (i.e. it is not part of the dataset)
+  - Every other row is part of the dataset
+  - All dataset values are valid
+  - There are no empty rows or empty columns`;
 
   ui.alert('Help', helpMessage, ui.ButtonSet.OK);
 }
This page took 0.0463170000000001 seconds and 4 git commands to generate.