diff options
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r-- | bbot/agent.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx index 60d59e6..2df96e6 100644 --- a/bbot/agent.cxx +++ b/bbot/agent.cxx @@ -781,9 +781,13 @@ try // Controller URLs. // - if (argc < 2 && !ops.fake_request_specified ()) + if (argc < 2 && + !ops.dump_machines () && + !ops.fake_request_specified ()) + { fail << "controller url expected" << info << "run " << argv[0] << " --help for details"; + } strings controllers; |