]> git.sur5r.net Git - ngadmin/blob - cli/com_quit.c
Let commands handle themselves absence of arguments
[ngadmin] / cli / com_quit.c
1
2 #include "commands.h"
3
4
5 bool do_quit (int argc, const char **argv UNUSED, struct ngadmin *nga UNUSED)
6 {
7         if (argc > 0) {
8                 printf("this command takes no argument\n");
9                 return false;
10         }
11         
12         main_loop_continue = 0;
13         
14         return true;
15 }
16
17