forked from cerc-io/plugeth
cmd/utils: add --nousb to the list of deprecated flags (#23388)
Adds --nousb as a deprecated flag when someone runs the geth show-deprecated-flags command.
This commit is contained in:
parent
85b9bdd641
commit
16ecdd5839
@ -125,10 +125,6 @@ var (
|
|||||||
Name: "keystore",
|
Name: "keystore",
|
||||||
Usage: "Directory for the keystore (default = inside the datadir)",
|
Usage: "Directory for the keystore (default = inside the datadir)",
|
||||||
}
|
}
|
||||||
NoUSBFlag = cli.BoolFlag{
|
|
||||||
Name: "nousb",
|
|
||||||
Usage: "Disables monitoring for and managing USB hardware wallets (deprecated)",
|
|
||||||
}
|
|
||||||
USBFlag = cli.BoolFlag{
|
USBFlag = cli.BoolFlag{
|
||||||
Name: "usb",
|
Name: "usb",
|
||||||
Usage: "Enable monitoring and management of USB hardware wallets",
|
Usage: "Enable monitoring and management of USB hardware wallets",
|
||||||
|
@ -36,10 +36,15 @@ var ShowDeprecated = cli.Command{
|
|||||||
|
|
||||||
var DeprecatedFlags = []cli.Flag{
|
var DeprecatedFlags = []cli.Flag{
|
||||||
LegacyMinerGasTargetFlag,
|
LegacyMinerGasTargetFlag,
|
||||||
|
NoUSBFlag,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// (Deprecated May 2020, shown in aliased flags section)
|
// (Deprecated May 2020, shown in aliased flags section)
|
||||||
|
NoUSBFlag = cli.BoolFlag{
|
||||||
|
Name: "nousb",
|
||||||
|
Usage: "Disables monitoring for and managing USB hardware wallets (deprecated)",
|
||||||
|
}
|
||||||
LegacyRPCEnabledFlag = cli.BoolFlag{
|
LegacyRPCEnabledFlag = cli.BoolFlag{
|
||||||
Name: "rpc",
|
Name: "rpc",
|
||||||
Usage: "Enable the HTTP-RPC server (deprecated and will be removed June 2021, use --http)",
|
Usage: "Enable the HTTP-RPC server (deprecated and will be removed June 2021, use --http)",
|
||||||
|
Loading…
Reference in New Issue
Block a user