Also take the opportunity to correct the manpage; the -d option should be -display. --- wmifs/wmifs.1 | 5 ++++- wmifs/wmifs.c | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-)
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 <display name> +.B \-display <display name> Use an alternate X display. .TP +.B \-geometry +x+y +Set window position. +.TP .B \-i <interface name> 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 <color>\t\tset color\n"); fprintf(stderr, "\t-display <display name>\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 <interface name>\tdefault (as it appears in /proc/net/route)\n"); fprintf(stderr, "\t-I <interval>\t\tsampling interval, in seconds (default: 0.05)\n"); -- 2.1.4 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.