Add some info about -f to the "expects two arguments" error.

Ping #1722
This commit is contained in:
Jeff Mitchell
2016-08-12 15:47:16 -04:00
parent 04c5ba4961
commit 5a149c0573

View File

@@ -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
}