[client]: deprecate config flag (#4224)

This commit is contained in:
hakansa
2025-07-25 18:43:48 +03:00
committed by GitHub
parent cb8b6ca59b
commit 3d9be5098b
5 changed files with 11 additions and 23 deletions

View File

@@ -126,6 +126,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&preSharedKey, preSharedKeyFlag, "", "Sets Wireguard PreSharedKey property. If set, then only peers that have the same key can communicate.")
rootCmd.PersistentFlags().StringVarP(&hostName, "hostname", "n", "", "Sets a custom hostname for the device")
rootCmd.PersistentFlags().BoolVarP(&anonymizeFlag, "anonymize", "A", false, "anonymize IP addresses and non-netbird.io domains in logs and status output")
rootCmd.PersistentFlags().StringVarP(&configPath, "config", "c", defaultConfigPath, "(DEPRECATED) Netbird config file location")
rootCmd.AddCommand(upCmd)
rootCmd.AddCommand(downCmd)