+static void version(FILE *fp)
+ { fprintf(fp, "%s (xtoys version " VERSION ")\n", QUIS); }
+
+static void usage(FILE *fp)
+ { fprintf(fp, "Usage: %s [-bcx] [-d display]\n", QUIS); }
+
+static void help(FILE *fp)
+{
+ version(fp);
+ fputc('\n', fp);
+ usage(stdout);
+ fputs("\n"
+"Reads the size of the X root window and outputs it in a form suitable\n"
+"for use as a shell assignment statement, defining variables XWIDTH and\n"
+"XHEIGHT.\n"
+"\n"
+"Options:\n"
+"\n"
+"-h, --help Display this help text\n"
+"-u, --usage Display a short usage summary\n"
+"-v, --version Display the program's version number\n"
+"\n"
+"-d, --display=DISPLAY Choose X display to connect to\n"
+"-b, --bourne-shell Output text suitable for a Bourne shell\n"
+"-c, --c-shell Output text suitable for a C shell\n"
+"-x, --export Export the variables into the environment\n",
+ fp);
+}
+