From 06d9327e9092619114f46f0e126961a563a8b4dd Mon Sep 17 00:00:00 2001 From: Chris Stockton Date: Wed, 18 Sep 2024 10:56:35 -0700 Subject: [PATCH] chore: watch-dir -> config-dir & end file with newline --- cmd/root_cmd.go | 2 +- internal/reloader/testdata/50_example.env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root_cmd.go b/cmd/root_cmd.go index b869cd90f..e8783d463 100644 --- a/cmd/root_cmd.go +++ b/cmd/root_cmd.go @@ -26,7 +26,7 @@ var rootCmd = cobra.Command{ func RootCommand() *cobra.Command { rootCmd.AddCommand(&serveCmd, &migrateCmd, &versionCmd, adminCmd()) rootCmd.PersistentFlags().StringVarP(&configFile, "config", "c", "", "base configuration file to load") - rootCmd.PersistentFlags().StringVarP(&watchDir, "watch-dir", "w", "", "directory containing a sorted list of config files to watch for changes") + rootCmd.PersistentFlags().StringVarP(&watchDir, "config-dir", "d", "", "directory containing a sorted list of config files to watch for changes") return &rootCmd } diff --git a/internal/reloader/testdata/50_example.env b/internal/reloader/testdata/50_example.env index c2767679f..1002d8be1 100644 --- a/internal/reloader/testdata/50_example.env +++ b/internal/reloader/testdata/50_example.env @@ -232,4 +232,4 @@ GOTRUE_HOOK_CUSTOM_SMS_PROVIDER_SECRET="" # Test OTP Config GOTRUE_SMS_TEST_OTP=":, :..." -GOTRUE_SMS_TEST_OTP_VALID_UNTIL="2050-01-01T01:00:00Z" # (e.g. 2023-09-29T08:14:06Z) \ No newline at end of file +GOTRUE_SMS_TEST_OTP_VALID_UNTIL="2050-01-01T01:00:00Z" # (e.g. 2023-09-29T08:14:06Z)