Added a few comments here and there
[linux_from_scratch.git] / lfscmd / src / help.c
blob432a5fcb7b41779568b1ca4ecee660c2d33127b0
1 /*
2 * Copyright (C) 2003 Timothy Bauscher <timothy@linuxfromscratch.org>
3 */
5 #include <stdio.h>
6 #include <stdlib.h>
8 #include "help.h"
10 void help (const char *prog)
12 fprintf(stderr, "Usage: %s [options] index.xml\n\
13 Options:\n\
14 -e\n\
15 Execute commands.\n\
16 -f\n\
17 Write commands to their own file.\n\
18 -a\n\
19 Strip '&&' in commands.\n\
20 -q query\n\
21 Output pages matching regex query.\n\
22 -t\n\
23 Print titles (as comments).\n\
24 -x\n\
25 Make file output executable.\n", prog);
27 exit(1);