]> git.sur5r.net Git - ngadmin/blobdiff - cli/com_help.c
Merge branch 'autotools'
[ngadmin] / cli / com_help.c
diff --git a/cli/com_help.c b/cli/com_help.c
deleted file mode 100644 (file)
index 34fc2bc..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#include "commands.h"
-
-
-bool do_help (int argc, const char **argv UNUSED, struct ngadmin *nga UNUSED)
-{
-       const struct TreeNode *s;
-       
-       
-       if (argc > 0) {
-               printf("this command takes no argument\n");
-               return 1;
-       }
-       
-       printf("Available commands: \n");
-       
-       for (s = commands.sub; s->name != NULL; s++)
-               printf("%s ", s->name);
-       putchar('\n');
-       
-       
-       return 0;
-}
-
-