added help for arguments in case user doesn't give any arguments (#138)

[ROCm/rocdecode commit: 5930f15c1a]
Este commit está contenido en:
Pavel Tcherniaev
2023-12-13 10:55:40 -08:00
cometido por GitHub
padre 0652ec852c
commit 8107033846
Se han modificado 6 ficheros con 6 adiciones y 6 borrados
@@ -68,7 +68,7 @@ int main(int argc, char **argv) {
Rect *p_crop_rect = nullptr;
OutputSurfaceMemoryType mem_type = OUT_SURFACE_MEM_DEV_INTERNAL; // set to internal
// Parse command-line arguments
if(argc < 1) {
if(argc <= 1) {
ShowHelpAndExit();
}
for (int i = 1; i < argc; i++) {