diff --git a/command/alloc_status.go b/command/alloc_status.go index 361681768..cd53d79ac 100644 --- a/command/alloc_status.go +++ b/command/alloc_status.go @@ -90,7 +90,7 @@ func (c *AllocStatusCommand) Run(args []string) int { alloc.DesiredStatus, alloc.ClientStatus) } - c.Ui.Output(fmt.Sprintf("Please disambiguate the desired allocation\n\n%s", formatList(out))) + c.Ui.Output(fmt.Sprintf("Prefix matched multiple allocations\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single allocation diff --git a/command/monitor.go b/command/monitor.go index cb1de5e5a..4b72e2c8a 100644 --- a/command/monitor.go +++ b/command/monitor.go @@ -203,7 +203,7 @@ func (m *monitor) monitor(evalID string) int { eval.TriggeredBy, eval.Status) } - m.ui.Output(fmt.Sprintf("Please disambiguate the desired evaluation\n\n%s", formatList(out))) + m.ui.Output(fmt.Sprintf("Prefix matched multiple evaluations\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single evaluation diff --git a/command/node_drain.go b/command/node_drain.go index 4a0a696ec..fea900228 100644 --- a/command/node_drain.go +++ b/command/node_drain.go @@ -97,7 +97,7 @@ func (c *NodeDrainCommand) Run(args []string) int { node.Status) } // Dump the output - c.Ui.Output(fmt.Sprintf("Please disambiguate the desired node\n\n%s", formatList(out))) + c.Ui.Output(fmt.Sprintf("Prefix matched multiple nodes\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single node diff --git a/command/node_status.go b/command/node_status.go index fd29f2335..6b7b68e57 100644 --- a/command/node_status.go +++ b/command/node_status.go @@ -126,7 +126,7 @@ func (c *NodeStatusCommand) Run(args []string) int { node.Status) } // Dump the output - c.Ui.Output(fmt.Sprintf("Please disambiguate the desired node\n\n%s", formatList(out))) + c.Ui.Output(fmt.Sprintf("Prefix matched multiple nodes\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single node diff --git a/command/status.go b/command/status.go index cbfdefc6d..75e2161d6 100644 --- a/command/status.go +++ b/command/status.go @@ -114,7 +114,7 @@ func (c *StatusCommand) Run(args []string) int { job.Priority, job.Status) } - c.Ui.Output(fmt.Sprintf("Please disambiguate the desired job\n\n%s", formatList(out))) + c.Ui.Output(fmt.Sprintf("Prefix matched multiple jobs\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single job diff --git a/command/stop.go b/command/stop.go index a309dd26a..b24805a42 100644 --- a/command/stop.go +++ b/command/stop.go @@ -86,7 +86,7 @@ func (c *StopCommand) Run(args []string) int { job.Priority, job.Status) } - c.Ui.Output(fmt.Sprintf("Please disambiguate the desired job\n\n%s", formatList(out))) + c.Ui.Output(fmt.Sprintf("Prefix matched multiple jobs\n\n%s", formatList(out))) return 0 } // Prefix lookup matched a single job