summaryrefslogtreecommitdiff
path: root/internal/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd')
-rw-r--r--internal/cmd/root.go2
-rw-r--r--internal/cmd/test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/cmd/root.go b/internal/cmd/root.go
index 04ea6dd..927a9b8 100644
--- a/internal/cmd/root.go
+++ b/internal/cmd/root.go
@@ -53,7 +53,7 @@ func Execute() {
func init() {
// Global flags
- rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "configuration file (default: ~/.gitsyncer.json)")
+ rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "configuration file (default: ~/.config/gitsyncer/config)")
// Set default work directory
home, err := os.UserHomeDir()
diff --git a/internal/cmd/test.go b/internal/cmd/test.go
index 0590719..2c50112 100644
--- a/internal/cmd/test.go
+++ b/internal/cmd/test.go
@@ -44,7 +44,7 @@ var testConfigCmd = &cobra.Command{
gitsyncer test config
# Test specific config file
- gitsyncer test config -c ~/my-gitsyncer.json`,
+ gitsyncer test config -c ~/my-config.json`,
Run: func(cmd *cobra.Command, args []string) {
// Try to load and validate config
cfg, err := config.Load(cfgFile)