cmd/clef: rename flag 'acceptWarn' to 'suppress-bootwarn'

This commit is contained in:
Martin Holst Swende 2020-04-27 15:07:14 +02:00
parent fd4583d985
commit 3647c3c913
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ GLOBAL OPTIONS:
--stdio-ui Use STDIN/STDOUT as a channel for an external UI. This means that an STDIN/STDOUT is used for RPC-communication with a e.g. a graphical user interface, and can be used when Clef is started by an external process.
--stdio-ui-test Mechanism to test interface between Clef and UI. Requires 'stdio-ui'.
--advanced If enabled, issues warnings instead of rejections for suspicious requests. Default off
--acceptWarn If set, does not show the warning during boot
--suppress-bootwarn If set, does not show the warning during boot
--help, -h show help
--version, -v print the version
```

View file

@ -83,7 +83,7 @@ var (
Usage: "If enabled, issues warnings instead of rejections for suspicious requests. Default off",
}
acceptFlag = cli.BoolFlag{
Name: "acceptWarn",
Name: "suppress-bootwarn",
Usage: "If set, does not show the warning during boot",
}
keystoreFlag = cli.StringFlag{