X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/243654c4bf8293284640aedced9914680ea27f10..29856753e21023825aaaebfcabaafc645b405250:/xscsize.c diff --git a/xscsize.c b/xscsize.c index 99d729f..3a9b9fe 100644 --- a/xscsize.c +++ b/xscsize.c @@ -61,7 +61,7 @@ static void version(FILE *fp) { pquis(fp, "$ (xtoys version " VERSION ")\n"); } static void usage(FILE *fp) - { pquis(fp, "Usage: $ [-bcx] [-d DISPLAY]\n"); } + { pquis(fp, "Usage: $ [-bcmx] [-d DISPLAY]\n"); } static void help(FILE *fp) { @@ -82,6 +82,7 @@ Options:\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\ +-m, --multiscreen Describe each screen individually\n\ -x, --export Export the variables into the environment\n", fp); } @@ -121,13 +122,13 @@ int main(int argc, char *argv[]) unsigned f = 0; unsigned long wd, ht; int sc; + struct screen *scr; + size_t nscr, j; #ifdef HAVE_XRANDR Window root; int rrev, rrerr, rrmaj, rrmin; XRRScreenResources *res; XRRCrtcInfo *crtc; - struct screen *scr; - size_t nscr, j; int i; #endif