[BUG] No warning given to invalid preview argument
lurch opened this issue · comments
I was just using rpicam-hello -p 640,480 -t 10000
and I thought the preview option wasn't working, as it was still displaying the preview-window at the same size as rpicam-hello -t 10000
. However after checking the output of rpicam-hello --help
I realised that I should have been using e.g. rpicam-hello -p 50,50,640,480 -t 10000
.
It seems like if the -p
flag is given an invalid argument, it just ignores the whole flag - it might be more useful if it displayed a warning message in the terminal output?
Also, AFAIK under Wayland an application-window can't explicitly set its offset, so perhaps the -p
flag should also allow a two-argument version, in addition to the existing four-argument version? 🤷 (with of course 1 or 3 arguments still printing out a warning, as I originally requested).