From: danw Date: Thu, 12 Jun 1997 21:04:50 +0000 (+0000) Subject: machine -> query should ask for 4 arguments, not 3. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/e5710f27cb9d982ea3f732605a6d641269cd6af9 machine -> query should ask for 4 arguments, not 3. (fixes a bug with an uninitialized variable and makes the command more flavorful) --- diff --git a/clients/moira/menus.c b/clients/moira/menus.c index 211e7136..22e0587e 100644 --- a/clients/moira/menus.c +++ b/clients/moira/menus.c @@ -440,12 +440,12 @@ Menu machine_menu = { {"show","Get machine information"}, {"name","Machine's Name: "} } }, - { ShowMachineQuery, NULLMENU, 4, { + { ShowMachineQuery, NULLMENU, 5, { {"query", "Lookup machines"}, {"name", "Machine Name (or leave empty to match any): "}, {"address", "Address in dotted notation (or leave empty to match any): "}, {"location", "Location (or leave empty to match any): "}, - {"contact", "Contact person (or leave empty to match any): "} + {"network", "Network (or leave empty to match any): "} } }, { AddMachine, NULLMENU, 2, { {"add","Add a new machine"},