mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 13:02:01 +03:00
move wrong_argument_count to commands.cc, where it is used
This commit is contained in:
parent
d1fade5c9e
commit
6bbbd2543a
@ -16,10 +16,6 @@ namespace Kakoune
|
||||
|
||||
struct Context;
|
||||
|
||||
struct wrong_argument_count : runtime_error
|
||||
{
|
||||
wrong_argument_count() : runtime_error("wrong argument count") {}
|
||||
};
|
||||
|
||||
using CommandParameters = memoryview<String>;
|
||||
|
||||
|
@ -33,6 +33,11 @@ extern bool quit_requested;
|
||||
namespace
|
||||
{
|
||||
|
||||
struct wrong_argument_count : runtime_error
|
||||
{
|
||||
wrong_argument_count() : runtime_error("wrong argument count") {}
|
||||
};
|
||||
|
||||
struct unknown_option : public runtime_error
|
||||
{
|
||||
unknown_option(const String& name)
|
||||
|
Loading…
Reference in New Issue
Block a user