mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
Update description of --data flag
This commit is contained in:
parent
4e5a18b93d
commit
c06e1cc4e0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func init() {
|
|||
// Let cobra ignore if we are running as "GUI" or not
|
||||
cobra.MousetrapHelpText = ""
|
||||
|
||||
rootCmd.PersistentFlags().StringVar(&dataDir, "data", "", "Configures the data directory. It's also possible to configure the PORTMASTER_DATA environment variable.")
|
||||
rootCmd.PersistentFlags().StringVar(&dataDir, "data", "", "Configures the data directory. Alternatively, this can also be set via the environment variable PORTMASTER_DATA.")
|
||||
rootCmd.PersistentFlags().StringVar(&databaseDir, "db", "", "Alias to --data (deprecated)")
|
||||
_ = rootCmd.MarkPersistentFlagDirname("data")
|
||||
_ = rootCmd.MarkPersistentFlagDirname("db")
|
||||
|
|
Loading…
Add table
Reference in a new issue