From 802fc432de70ae8ebeccf0c6926df16305204b87 Mon Sep 17 00:00:00 2001 From: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:42:41 -0500 Subject: [PATCH 1/2] Fix typo in the help string of the command "permissions" --- src/megacmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/megacmd.cpp b/src/megacmd.cpp index 1e3b92b0..79eea019 100644 --- a/src/megacmd.cpp +++ b/src/megacmd.cpp @@ -2344,7 +2344,7 @@ string getHelpStr(const char *command) os << " --s XXX" << "\t" << "To set new permissions for newly created files/folder. " << endl; os << " " << "\t" << " Notice that for files minimum permissions is 600," << endl; os << " " << "\t" << " for folders minimum permissions is 700." << endl; - os << " " << "\t" << " Further restrictions to owner are not allowed (to avoid missfunctioning)." << endl; + os << " " << "\t" << " Further restrictions to owner are not allowed (to avoid misfunctioning)." << endl; os << " " << "\t" << " Notice that permissions of already existing files/folders will not change." << endl; os << " " << "\t" << " Notice that permissions of already existing files/folders will not change." << endl; os << endl; From 70e082c25055e69a49af204556c9c2263d428430 Mon Sep 17 00:00:00 2001 From: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:57:13 -0500 Subject: [PATCH 2/2] Capitalize word in the help string of command "permissions" --- src/megacmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/megacmd.cpp b/src/megacmd.cpp index 79eea019..51446bc4 100644 --- a/src/megacmd.cpp +++ b/src/megacmd.cpp @@ -2337,7 +2337,7 @@ string getHelpStr(const char *command) { os << "Shows/Establish default permissions for files and folders created by MEGAcmd." << endl; os << endl; - os << "Permissions are unix-like permissions, with 3 numbers: one for owner, one for group and one for others" << endl; + os << "Permissions are Unix-like permissions, with 3 numbers: one for owner, one for group and one for others" << endl; os << "Options:" << endl; os << " --files" << "\t" << "To show/set files default permissions." << endl; os << " --folders" << "\t" << "To show/set folders default permissions." << endl;