Many commands check for eg the right number of arguments like so:

  if (args.size() != 3)
    throw usage(execid);

where others do

  N(args.size() == 0,
    F("no arguments needed"));


This ought to be made consistent, does anyone object to using the
'throw usage();' version everywhere?


-- 
Timothy

Free (experimental) public monotone hosting: http://mtn-host.prjek.net



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to