Fixed dialogue arguments error.
This commit is contained in:
parent
012fa05e8f
commit
b3e71d13aa
@ -142,6 +142,13 @@ int main(int argc, char **argv) {
|
||||
|
||||
if (argc == 2 && strcmp(argv[1], "--version") == 0) {
|
||||
fprintf(stdout, "icfs_dialogue 1.0.0");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (argc != 4) {
|
||||
fprintf(stdout, "Usage: icfs_dialogue [accessing pid] [accessing name] "
|
||||
"[root folder] [access dir]");
|
||||
return 255;
|
||||
}
|
||||
|
||||
// disable accessibility features to prevent attacks
|
||||
|
Loading…
x
Reference in New Issue
Block a user