wmmisc: Add support for wmgeneral's -geometry command line argument.

This commit is contained in:
Doug Torrance 2018-07-11 22:12:51 -04:00 committed by Carlos R. Mafra
parent 01bb8bdecf
commit 6b1e14dab3
2 changed files with 6 additions and 1 deletions

View file

@ -44,7 +44,8 @@ dockapp_show_help( const char* wm_name )
printf( "the system's fork count and load average.\n\n" );
printf( " -h display this help and exit\n" );
printf( " -v output version information and exit\n" );
printf( " -display DISPLAY set display\n\n");
printf( " -display DISPLAY set display\n");
printf( " -geometry +x+y set position\n\n");
printf( "Report bugs to <" PACKAGE_BUGREPORT ">.\n" );
}
@ -101,6 +102,7 @@ main( int argc, char** argv )
int opt = 0;
const struct option longopts[] = {
{"display", required_argument, NULL, 0},
{"geometry", required_argument, NULL, 0},
{0, 0, 0, 0}
};

View file

@ -40,6 +40,9 @@ Display help and exit
.TP
.B \-display DISPLAY
Set display
.TP
.B \-geometry +x+y
Set position
.SH BUGS
Report bugs and suggestion to the current \fBwmmisc\fR maintainer:
Jesse S. <luxorfalls@sbcglobal.net>.