Very old versions for history.
[opsoft_archive.git] / silentbob / silent_bob / usage.cpp
blob2537ed4bfbd1414726a73e50e4a2ad462ff7eb11
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.0\n");
12 printf ("(c) Oleg Puchinin 2006\n");
13 printf ("usage:\tsilent_bob [<kernel_function>|<files>] [<options>]\n");
14 printf ("\ttags <tag> <tag2> ... <tagN> [--gvim]\n");
15 printf ("\t options:\n"
16 "\t\t -C <dir>\t\t-\tchdir to <dir>\n"
17 "\t\t--cgrep\t\t\t-\tsearch in code\n"
18 "\t\t--call-tags\t\t-\tcreate \"call_tags\" file\n"
19 "\t\t--ctags-append\t\t-\tdon't rewrite \"tags\" file\n"
20 "\t\t--depth <arg>\t\t-\tset reentrant level\n"
21 "\t\t--file <files>\t\t-\tshow file functions\n"
22 "\t\t -fn\t\t\t-\techo filenames\n"
23 "\t\t--give-structs\t\t-\tshow all structs in stream\n"
24 "\t\t--globals\t\t-\tfind globals.\n"
25 "\t\t--globals-extern\t-\tfind all extern's\n"
26 "\t\t--globals-function\t-\tfind all functions\n"
27 "\t\t--globals-typedef\t-\tfind all typedef's\n"
28 "\t\t--globals-variable\t-\tfind all global variables\n"
29 "\t\t--gvim\t\t\t-\topen gvim with results.\n"
30 "\t\t--indent\t\t-\tindention\n"
31 "\t\t--L <file>\t\t-\tread files list from file\n"
32 "\t\t--linear\t\t-\tmove all code to one stream...\n"
33 "\t\t--linux\t\t\t-\tchdir to /usr/src/linux\n"
34 "\t\t--make-ctags\t\t-\tcreate \"tags\" file\n"
35 "\t\t--no-links\t\t-\tdon't show \"links\"\n"
36 "\t\t--the-tt\t\t-\tstart the C preprocessor\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");