Skip to content

Commit

Permalink
Use -b for deprecated --datadir short option.
Browse files Browse the repository at this point in the history
When 29f3172 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
in fda2e14 for consistensy with
btcd's --datadir short option.

This change reverts the unintentional switch back to -D.
  • Loading branch information
jrick committed May 4, 2016
1 parent 146e92e commit 7ff44e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Expand Up @@ -95,7 +95,7 @@ type config struct {
ExperimentalRPCListeners []string `long:"experimentalrpclisten" description:"Listen for RPC connections on this interface/port"`

// 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
Expand Down

0 comments on commit 7ff44e3

Please sign in to comment.