diff --git a/UserGuide.md b/UserGuide.md index 9e613a51..68dd8c8c 100644 --- a/UserGuide.md +++ b/UserGuide.md @@ -244,7 +244,7 @@ Verbosity: You can increase the amount of information given by any command by pa * [`help`](contrib/docs/commands/help.md)`[-f|-ff|--non-interactive|--upgrade|--paths] [--show-all-options]` Prints list of commands * [`https`](contrib/docs/commands/https.md)`[on|off]` Shows if HTTPS is used for transfers. Use "https on" to enable it. * [`info`](contrib/docs/commands/info.md)`remotepath1 remotepath2 ...` Prints media info of remote files -* [`log`](contrib/docs/commands/log.md)`[-sc] level` Prints/Modifies the current logs level +* [`log`](contrib/docs/commands/log.md)`[-sc] level` Prints/Modifies the log level * [`permissions`](contrib/docs/commands/permissions.md)`[(--files|--folders) [-s XXX]]` Shows/Establish default permissions for files and folders created by MEGAcmd. * [`proxy`](contrib/docs/commands/proxy.md)`[URL|--auto|--none] [--username=USERNAME --password=PASSWORD]` Show or sets proxy configuration * [`psa`](contrib/docs/commands/psa.md)`[--discard]` Shows the next available Public Service Announcement (PSA) diff --git a/contrib/docs/commands/ftp.md b/contrib/docs/commands/ftp.md index 56c402b7..25e99604 100644 --- a/contrib/docs/commands/ftp.md +++ b/contrib/docs/commands/ftp.md @@ -19,6 +19,7 @@ Options: *If you serve more than one location, these parameters will be ignored and used those of the first location served. If you want to change those parameters, you need to stop serving all locations and configure them again. +Note: FTP settings and locations will be saved for the next time you open MEGAcmd, but will be removed if you logout. Caveat: This functionality is in BETA state. It might not be available on all platforms. If you experience any issue with this, please contact: support@mega.nz diff --git a/contrib/docs/commands/graphics.md b/contrib/docs/commands/graphics.md index 6ac015b7..c1ba01f6 100644 --- a/contrib/docs/commands/graphics.md +++ b/contrib/docs/commands/graphics.md @@ -12,5 +12,5 @@ It's only recommended to disable these features before uploading files with image or video extensions that are not really images or videos, or that are encrypted in the local drive so they can't be analyzed anyway. -Notice that this setting will be saved for the next time you open MEGAcmd +Notice that this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout. diff --git a/contrib/docs/commands/https.md b/contrib/docs/commands/https.md index a9fb0e5d..f7ea4b85 100644 --- a/contrib/docs/commands/https.md +++ b/contrib/docs/commands/https.md @@ -6,5 +6,5 @@ Usage: `https [on|off]` HTTPS is not necesary since all data is stored and transfered encrypted. Enabling it will increase CPU usage and add network overhead. -Notice that this setting will be saved for the next time you open MEGAcmd +Notice that this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout. diff --git a/contrib/docs/commands/log.md b/contrib/docs/commands/log.md index 5cc04587..035a6545 100644 --- a/contrib/docs/commands/log.md +++ b/contrib/docs/commands/log.md @@ -1,5 +1,5 @@ ### log -Prints/Modifies the current logs level +Prints/Modifies the log level Usage: `log [-sc] level`
@@ -8,6 +8,7 @@ Options: Messages captured by MEGAcmd server. -s SDK log level (lower level messages). Messages captured by the engine and libs +Note: this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout. Regardless of the log level of the interactive shell, you can increase the amount of information given diff --git a/contrib/docs/commands/proxy.md b/contrib/docs/commands/proxy.md index 396aa272..02ea8ffc 100644 --- a/contrib/docs/commands/proxy.md +++ b/contrib/docs/commands/proxy.md @@ -11,4 +11,6 @@ URL Proxy URL (e.g: https://127.0.0.1:8080) --auto To use the proxy configured in your system --username=USERNAME The username, for authenticated proxies --password=PASSWORD The password, for authenticated proxies. Please, avoid using passwords containing " or ' + +Note: Proxy settings will be saved for the next time you open MEGAcmd, but will be removed if you logout.diff --git a/contrib/docs/commands/sync-issues.md b/contrib/docs/commands/sync-issues.md index ea3ec34a..1b094f02 100644 --- a/contrib/docs/commands/sync-issues.md +++ b/contrib/docs/commands/sync-issues.md @@ -20,8 +20,8 @@ Options: The "--all" argument can be used to show the details of all issues. --limit=rowcount Limits the amount of rows displayed. Set to 0 to display unlimited rows. Default is 10. Can also be combined with "--detail". --disable-path-collapse Ensures all paths are fully shown. By default long paths are truncated for readability. - --enable-warning Enables the notification that appears when issues are detected. This setting is stored locally for all users. - --disable-warning Disables the notification that appears when issues are detected. This setting is stored locally for all users. + --enable-warning Enables the notification that appears when issues are detected. This setting is saved for the next time you open MEGAcmd, but will be removed if you logout. + --disable-warning Disables the notification that appears when issues are detected. This setting is saved for the next time you open MEGAcmd, but will be removed if you logout. --col-separator=X Uses the string "X" as column separator. Otherwise, spaces will be added between columns to align them. --output-cols=COLUMN_NAME_1,COLUMN_NAME2,... Selects which columns to show and their order. diff --git a/contrib/docs/commands/webdav.md b/contrib/docs/commands/webdav.md index cf20f7ba..71ae4fa1 100644 --- a/contrib/docs/commands/webdav.md +++ b/contrib/docs/commands/webdav.md @@ -18,6 +18,7 @@ Options: *If you serve more than one location, these parameters will be ignored and use those of the first location served. If you want to change those parameters, you need to stop serving all locations and configure them again. +Note: WEBDAV settings and locations will be saved for the next time you open MEGAcmd, but will be removed if you logout. Caveat: This functionality is in BETA state. It might not be available on all platforms. If you experience any issue with this, please contact: support@mega.nz diff --git a/src/megacmd.cpp b/src/megacmd.cpp index 61fb879d..c7858b02 100644 --- a/src/megacmd.cpp +++ b/src/megacmd.cpp @@ -2085,7 +2085,7 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << "with image or video extensions that are not really images or videos," << endl; os << "or that are encrypted in the local drive so they can't be analyzed anyway." << endl; os << endl; - os << "Notice that this setting will be saved for the next time you open MEGAcmd" << endl; + os << "Notice that this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; } else if (!strcmp(command, "signup")) { @@ -2223,13 +2223,14 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) } else if (!strcmp(command, "log")) { - os << "Prints/Modifies the current logs level" << endl; + os << "Prints/Modifies the log level" << endl; os << endl; os << "Options:" << endl; os << " -c" << "\t" << "CMD log level (higher level messages)." << endl; os << " " << "\t" << " Messages captured by MEGAcmd server." << endl; os << " -s" << "\t" << "SDK log level (lower level messages)." << endl; os << " " << "\t" << " Messages captured by the engine and libs" << endl; + os << "Note: this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; os << endl; os << "Regardless of the log level of the" << endl; @@ -2435,7 +2436,7 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << "HTTPS is not necesary since all data is stored and transfered encrypted." << endl; os << "Enabling it will increase CPU usage and add network overhead." << endl; os << endl; - os << "Notice that this setting will be saved for the next time you open MEGAcmd" << endl; + os << "Notice that this setting will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; } else if (!strcmp(command, "deleteversions")) { @@ -2483,6 +2484,7 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << endl; os << "*If you serve more than one location, these parameters will be ignored and use those of the first location served." << endl; os << " If you want to change those parameters, you need to stop serving all locations and configure them again." << endl; + os << "Note: WEBDAV settings and locations will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; os << endl; os << "Caveat: This functionality is in BETA state. It might not be available on all platforms. If you experience any issue with this, please contact: support@mega.nz" << endl; os << endl; @@ -2512,6 +2514,7 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << endl; os << "*If you serve more than one location, these parameters will be ignored and used those of the first location served." << endl; os << " If you want to change those parameters, you need to stop serving all locations and configure them again." << endl; + os << "Note: FTP settings and locations will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; os << endl; os << "Caveat: This functionality is in BETA state. It might not be available on all platforms. If you experience any issue with this, please contact: support@mega.nz" << endl; os << endl; @@ -2589,8 +2592,8 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << " " << "\t" << "The \"--all\" argument can be used to show the details of all issues." << endl; os << " --limit=rowcount " << "\t" << "Limits the amount of rows displayed. Set to 0 to display unlimited rows. Default is 10. Can also be combined with \"--detail\"." << endl; os << " --disable-path-collapse " << "\t" << "Ensures all paths are fully shown. By default long paths are truncated for readability." << endl; - os << " --enable-warning " << "\t" << "Enables the notification that appears when issues are detected. This setting is stored locally for all users." << endl; - os << " --disable-warning " << "\t" << "Disables the notification that appears when issues are detected. This setting is stored locally for all users." << endl; + os << " --enable-warning " << "\t" << "Enables the notification that appears when issues are detected. This setting is saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; + os << " --disable-warning " << "\t" << "Disables the notification that appears when issues are detected. This setting is saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; printColumnDisplayerHelp(os); os << endl; os << "DISPLAYED columns:" << endl; @@ -2933,6 +2936,8 @@ string getHelpStr(const char *command, const HelpFlags& flags = {}) os << " --username=USERNAME" << "\t" << "The username, for authenticated proxies" << endl; os << " --password=PASSWORD" << "\t" << "The password, for authenticated proxies. Please, avoid using passwords containing \" or '" << endl; + os << endl; + os << "Note: Proxy settings will be saved for the next time you open MEGAcmd, but will be removed if you logout." << endl; } else if (!strcmp(command, "cat")) {