|
Lines 24-49
Link Here
|
| 24 |
|
24 |
|
| 25 |
void Usage() |
25 |
void Usage() |
| 26 |
{ |
26 |
{ |
| 27 |
char* usageOptions = {"Options:\n\ |
27 |
char* usageOptions = {"Options:\n" |
| 28 |
-display <display name> X server to connect to\n\ |
28 |
"-display <display name> X server to connect to\n" |
| 29 |
-c[onfig] <filename> Alternate config file\n\ |
29 |
"-c[onfig] <filename> Alternate config file\n" |
| 30 |
-n[obb] Fall back on default configuration\n\ |
30 |
"-n[obb] Fall back on default configuration\n" |
| 31 |
-v[ersion] Display version number\n\ |
31 |
"-v[ersion] Display version number\n" |
| 32 |
-h[elp] Display this help\n\ |
32 |
"-h[elp] Display this help\n" |
| 33 |
-geom[etry] <geometry> Set geometry of window\n\ |
33 |
"-geom[etry] <geometry> Set geometry of window\n" |
| 34 |
-d[ecorated] Show 'normal' decorated window\n\ |
34 |
"-d[ecorated] Show 'normal' decorated window\n" |
| 35 |
-w[ithdrawn] Place bbtool in the Slit\n\ |
35 |
"-w[ithdrawn] Place bbtool in the Slit\n" |
| 36 |
-s[hape] Don't display groundplate\n\ |
36 |
"-s[hape] Don't display groundplate\n" |
| 37 |
-thru[put] Display throughput rate\n\ |
37 |
"-thru[put] Display throughput rate\n" |
| 38 |
-o[rient] <v|h> Display window widgets horizontally or vertically\n\ |
38 |
"-o[rient] <v|h> Display window widgets horizontally or vertically\n" |
| 39 |
-com[pact] Display buttons in compact style\n\ |
39 |
"-com[pact] Display buttons in compact style\n" |
| 40 |
-notime Dont display time window\n\ |
40 |
"-notime Dont display time window\n" |
| 41 |
-nosecs Show uptime in old-style hh:mm format\n\ |
41 |
"-nosecs Show uptime in old-style hh:mm format\n" |
| 42 |
"}; |
42 |
}; |
| 43 |
|
43 |
|
| 44 |
fprintf(stdout,"\n%s version %s \n",BBTOOL,BBTOOL_VERSION); |
44 |
fprintf(stdout,"\n%s version %s \n",BBTOOL,BBTOOL_VERSION); |
| 45 |
fprintf(stdout,"Usage: |
45 |
fprintf(stdout,"Usage:\n%s [options]\n",BBTOOL); |
| 46 |
%s [options]\n",BBTOOL); |
|
|
| 47 |
fprintf(stdout, "%s", usageOptions); |
46 |
fprintf(stdout, "%s", usageOptions); |
| 48 |
/* |
47 |
/* |
| 49 |
fprintf(stdout,"-t[ype] <0|1|2|3> 0: |
48 |
fprintf(stdout,"-t[ype] <0|1|2|3> 0: |