Use -b for deprecated --datadir short option.
When29f31725ee
deprecated the datadir option, replacing it with --appdata/-A, the short --datadir option was unintentinally changed from -b to -D. It was previously changed to -b infda2e14b99
for consistency with btcd's --datadir short option. This change reverts the unintentional switch back to -D.
This commit is contained in:
parent
146e92edc1
commit
4d51f8358f
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ type config struct {
|
||||||
ExperimentalRPCListeners []string `long:"experimentalrpclisten" description:"Listen for RPC connections on this interface/port"`
|
ExperimentalRPCListeners []string `long:"experimentalrpclisten" description:"Listen for RPC connections on this interface/port"`
|
||||||
|
|
||||||
// Deprecated options
|
// Deprecated options
|
||||||
DataDir string `short:"D" long:"datadir" default-mask:"-" description:"DEPRECATED -- use appdata instead"`
|
DataDir string `short:"b" long:"datadir" default-mask:"-" description:"DEPRECATED -- use appdata instead"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanAndExpandPath expands environement variables and leading ~ in the
|
// cleanAndExpandPath expands environement variables and leading ~ in the
|
||||||
|
|
Loading…
Reference in a new issue