summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-02-01 17:27:15 +0000
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-02-01 17:50:50 +0000
commitdea4ebdcd58e594d1d2f2b03e3ddb4b8b73b3529 (patch)
tree9e5c9dce461193e66740dd0778387b5bb2d25f6e /overlay
parent902b754804ff76fbbf048ff889a95a4d7c0da5e6 (diff)
overlay: add missing foreground option
It seems we handle -f but we forgot to list it. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/overlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c
index 4804f813..545af7bc 100644
--- a/overlay/overlay.c
+++ b/overlay/overlay.c
@@ -840,6 +840,7 @@ static void usage(const char *progname)
printf("\t--geometry|-G <width>x<height>+<x-offset>+<y-offset>\tExact window placement and size\n");
printf("\t--position|-P (top|middle|bottom)-(left|centre|right)\tPlace the window in a particular corner\n");
printf("\t--size|-S <width>x<height> | <scale>%%\t\t\tWindow size\n");
+ printf("\t--foreground|-f\t\t\t\t\t\tKeep the application in foreground\n");
printf("\t--help|-h\t\t\t\t\t\tThis help message\n");
}
@@ -850,6 +851,7 @@ int main(int argc, char **argv)
{"geometry", 1, 0, 'G'},
{"position", 1, 0, 'P'},
{"size", 1, 0, 'S'},
+ {"foreground", 0, 0, 'f'},
{"help", 0, 0, 'h'},
{NULL, 0, 0, 0,}
};