mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Add some info about -f to the "expects two arguments" error.
Ping #1722
This commit is contained in:
@@ -33,7 +33,7 @@ func (c *WriteCommand) Run(args []string) int {
|
||||
|
||||
args = flags.Args()
|
||||
if len(args) < 2 && !force {
|
||||
c.Ui.Error("write expects at least two arguments")
|
||||
c.Ui.Error("write expects at least two arguments; use -f to perform the write anyways")
|
||||
flags.Usage()
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user