# # # patch "cmd.hh" # from [32ad2a9b93c474f4107bcbf1f0cedca2a4677edc] # to [543a974c4544509faa850e88465a65da6a90db29] # ============================================================ --- cmd.hh 32ad2a9b93c474f4107bcbf1f0cedca2a4677edc +++ cmd.hh 543a974c4544509faa850e88465a65da6a90db29 @@ -206,18 +206,7 @@ void commands::cmd_ ## C::exec(app_state command_id const & execid, \ args_vector const & args) \ { \ - if (args.size() == 0) \ - throw usage(execid); \ - \ - args_vector::const_iterator i = args.begin(); \ - ++i; \ - args_vector removed (i, args.end()); \ - /* XXX Command completion... */ \ - /*command * child = find_command(this, idx(args, 0)()); \ - if (child == NULL) \ - throw usage(execid); \ - else \ - child->exec(app, idx(args, 0)(), removed); */ \ + I(false); \ } // Use this for commands that should specifically _not_ look for an