diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index 42f4b1b..3583a86 100644 --- a/wmifs/wmifs.1 +++ b/wmifs/wmifs.1 @@ -33,9 +33,12 @@ Show summary of options. .B \-v Show version of the program. .TP -.B \-d +.B \-display Use an alternate X display. .TP +.B \-geometry +x+y +Set window position. +.TP .B \-i Interface that should come up initially when executing wmifs. If you use "auto" as interface name, the first active ("up") interface will be diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 7b128da..f6ee3a5 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -319,6 +319,12 @@ int main(int argc, char *argv[]) exit(1); } break; + case 'g': + if (strcmp(arg+1, "geometry")) { + usage(); + exit(1); + } + break; case 'i': active_interface = argv[i+1]; i++; @@ -1003,6 +1009,7 @@ void usage(void) fprintf(stderr, "usage:\n"); fprintf(stderr, "\t-c \t\tset color\n"); fprintf(stderr, "\t-display \tset display\n"); + fprintf(stderr, "\t-geometry +x+y\t\tset window position\n"); fprintf(stderr, "\t-h\t\t\tthis help screen\n"); fprintf(stderr, "\t-i \tdefault (as it appears in /proc/net/route)\n"); fprintf(stderr, "\t-I \t\tsampling interval, in seconds (default: 0.05)\n");