[Initng-svn] r3831 - initng/trunk/devtool
svn at initng.thinktux.net
svn at initng.thinktux.net
Tue Apr 18 18:18:22 CEST 2006
Author: jimmy
Date: Tue Apr 18 18:18:14 2006
New Revision: 3831
Modified:
initng/trunk/devtool/test_parser.c
Log:
test_parser --help now exists.
Modified: initng/trunk/devtool/test_parser.c
==============================================================================
--- initng/trunk/devtool/test_parser.c (original)
+++ initng/trunk/devtool/test_parser.c Tue Apr 18 18:18:14 2006
@@ -130,6 +130,12 @@
if (opt_type == 1)
{
+ if (strcmp(opt, "help") == 0)
+ {
+ printf("test_parser --help --verbose --all --no_sumary --check_circular --print_each --print_dep_err\n");
+ exit(1);
+ }
+
if (strcmp(opt, "verbose") == 0)
verbose = 1;
@@ -222,6 +228,14 @@
}
}
+
+#ifdef PRINT_ALL
+ {
+ char *all=service_db_print_all();
+ printf("%s\n", all);
+ }
+#endif
+
exit:
/* unload all modules */
More information about the Initng-svn
mailing list