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

[ROCm/rocdecode commit: 5930f15c1a]
Tento commit je obsažen v:
Pavel Tcherniaev
2023-12-13 10:55:40 -08:00
odevzdal GitHub
rodič 0652ec852c
revize 8107033846
6 změnil soubory, kde provedl 6 přidání a 6 odebrání
@@ -76,7 +76,7 @@ void ParseCommandLine(std::deque<FileInfo> *multi_file_data, int &device_id, boo
std::string file_list_path;
// Parse command-line arguments
if(argc < 1) {
if(argc <= 1) {
ShowHelpAndExit();
}
for (int i = 1; i < argc; i++) {