From c247d7a6622223ef5f89ea9b6c12195f1c74eeae Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 13 Jun 2021 16:59:16 +0200 Subject: Utilities: Change `unzip -o` option to `-d` Other `unzip` implementations universally use `-d` to indicate the output directory, so let's follow this convention. --- Userland/Applications/FileManager/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications') diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp index d7cfb802d4..affbe121a7 100644 --- a/Userland/Applications/FileManager/main.cpp +++ b/Userland/Applications/FileManager/main.cpp @@ -206,7 +206,7 @@ void do_unzip_archive(const Vector& selected_file_paths, GUI::Window* wi } if (!unzip_pid) { - int rc = execlp("/bin/unzip", "/bin/unzip", "-o", output_directory_path.characters(), archive_file_path.characters(), nullptr); + int rc = execlp("/bin/unzip", "/bin/unzip", "-d", output_directory_path.characters(), archive_file_path.characters(), nullptr); if (rc < 0) { perror("execlp"); _exit(1); -- cgit v1.2.3