Add quit command

Change-Id: Ia0a01a558ec92bb0d8f22fe2fbddf74b8d78242b
diff --git a/src/grammars.hpp b/src/grammars.hpp
index 4e3b97c..b8d9456 100644
--- a/src/grammars.hpp
+++ b/src/grammars.hpp
@@ -84,6 +84,7 @@
 x3::rule<exec_class, exec_> const exec = "exec";
 x3::rule<switch_class, switch_> const switch_rule = "switch";
 x3::rule<cancel_class, cancel_> const cancel = "cancel";
+x3::rule<quit_class, quit_> const quit = "quit";
 x3::rule<command_class, command_> const command = "command";
 
 x3::rule<createCommandSuggestions_class, x3::unused_type> const createCommandSuggestions = "createCommandSuggestions";
@@ -354,6 +355,9 @@
 auto const dump_def =
     dump_::name > space_separator >> dump_args;
 
+auto const quit_def =
+    quit_::name >> x3::attr(quit_{});
+
 auto const createCommandSuggestions_def =
     x3::eps;
 
@@ -361,7 +365,7 @@
 #if BOOST_VERSION <= 107800
     x3::eps >>
 #endif
-    createCommandSuggestions >> x3::expect[cd | copy | create | delete_rule | set | commit | get | ls | discard | describe | help | move | dump | prepare | exec | cancel | switch_rule];
+    createCommandSuggestions >> x3::expect[cd | copy | create | delete_rule | set | commit | get | ls | discard | describe | help | move | dump | prepare | exec | cancel | switch_rule | quit];
 
 #if __clang__
 #pragma GCC diagnostic pop
@@ -384,5 +388,6 @@
 BOOST_SPIRIT_DEFINE(exec)
 BOOST_SPIRIT_DEFINE(switch_rule)
 BOOST_SPIRIT_DEFINE(cancel)
+BOOST_SPIRIT_DEFINE(quit)
 BOOST_SPIRIT_DEFINE(command)
 BOOST_SPIRIT_DEFINE(createCommandSuggestions)