Very old versions for history.
[opsoft_archive.git] / silentbob / silentbob-1.1 / src / usage.cpp
blob5bb2bd3b1f7e6ab130854d58d046b9fab945ecba
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
4 *
5 */
7 #include <stdio.h>
9 void usage ()
11 printf ("\"Silent Bob\" version 1.1\n");
12 printf ("usage:\tsb [<kernel_function>|<files>] [<options>]\n");
13 printf ("\ttags <tag> <tag2> ... <tagN> [<options>]\n");
14 printf ("\t options:\n"
15 // "\t\t -C <dir>\t\t-\tchdir to <dir>\n"
16 "\t\t--cgrep\t\t\t-\tsearch in code\n"
17 "\t\t--call-tags\t\t-\tcreate \"call_tags\" file\n"
18 "\t\t--ctags-append\t\t-\tdon't rewrite \"tags\" file\n"
19 "\t\t--depth <arg>\t\t-\tset reentrant level\n"
20 "\t\t--file <files>\t\t-\tshow file functions\n"
21 "\t\t -fn\t\t\t-\techo filenames\n"
22 "\t\t--give-structs\t\t-\tshow all structs in stream\n"
23 /* "\t\t--globals\t\t-\tfind globals.\n"
24 "\t\t--globals-extern\t-\tfind all extern's\n"
25 "\t\t--globals-function\t-\tfind all functions\n"
26 "\t\t--globals-typedef\t-\tfind all typedef's\n"
27 "\t\t--globals-variable\t-\tfind all global variables\n"*/
28 "\t\t--indent\t\t-\tindention\n"
29 "\t\t--L <file>\t\t-\tread files list from file\n"
30 "\t\t--linear\t\t-\tmove all code to one stream...\n"
31 // "\t\t--linux\t\t\t-\tchdir to /usr/src/linux\n"
32 "\t\t--make-ctags\t\t-\tcreate \"tags\" file\n"
33 "\t\t--plugins-info\t\t-\tshow available plugins\n"
34 // "\t\t--no-links\t\t-\tdon't show \"links\"\n"
35 "\t\t--the-tt\t\t-\tC preprocessor\n"
36 "\t\t -ts\t\t\t-\tforce ctags style\n"
37 "\t\t -u\t\t\t-\treverse call-tree\n"
38 "\t\t--verbose\t\t-\tprint more other info\n"
41 printf ("\nCONTACTS\nOleg Puchinin <graycardinalster@gmail.com>\n");