At the moment, you can't run "beagle-query --help" without having a beagle daemon running. Also, if you run "beagle-query" with no args then it will attempt to query for nothing at all. Index: tools/Query.cs =================================================================== RCS file: /cvs/gnome/beagle/tools/Query.cs,v retrieving revision 1.39 diff -u -B -p -r1.39 Query.cs --- tools/Query.cs 13 Mar 2005 04:37:38 -0000 1.39 +++ tools/Query.cs 31 Mar 2005 21:12:55 -0000 @@ -145,6 +145,9 @@ class QueryTool { { Gtk.Application.InitCheck ("beagle-query", ref args); + if (args.Length == 0 || Array.IndexOf (args, "--help") > -1 || Array.IndexOf (args, "--usage") > -1) + PrintUsageAndExit (); + try { query = Beagle.Factory.NewQuery (); } catch (DBus.DBusException e) { @@ -190,11 +192,6 @@ class QueryTool { verbose = true; display_hits = false; break; - - case "--help": - case "--usage": - PrintUsageAndExit (); - return; default: query.AddTextRaw (args [i]);