1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-19 17:53:23 +00:00

Updated Global Options (markdown)

gilbertchen
2022-10-06 11:11:15 -04:00
parent 9fb8607a98
commit 171215f182

@@ -13,6 +13,7 @@ These options apply to all duplicacy commands and must be placed before any comm
-profile <address:port> enable the profiling tool and listen on the specified address:port -profile <address:port> enable the profiling tool and listen on the specified address:port
-comment add a comment to identify the process -comment add a comment to identify the process
-suppress, -s <id> [+] suppress logs with the specified id -suppress, -s <id> [+] suppress logs with the specified id
-print-memory-usage print memory usage every second
-help, -h show help -help, -h show help
``` ```
@@ -42,13 +43,11 @@ The `-stack` option is used to dump the stack trace when an error occurs to help
Using this option will stop [Pre Command and Post Command Scripts](https://forum.duplicacy.com/t/pre-command-and-post-command-scripts/1100) from running. This is usually used to avoid an infinite loop of command execution. Using this option will stop [Pre Command and Post Command Scripts](https://forum.duplicacy.com/t/pre-command-and-post-command-scripts/1100) from running. This is usually used to avoid an infinite loop of command execution.
### :no_entry_sign: :no_entry:`-background` ### `-background`
The `-background` option will instruct Duplicacy not to ask for interactive password input. As a result, Duplicacy will read all credentials only from keychain/keyring or the environment variables. If a credential can't be found, an error will be reported. The `-background` option will instruct Duplicacy not to ask for interactive password input. As a result, Duplicacy will read all credentials only from keychain/keyring or the environment variables. If a credential can't be found, an error will be reported.
This is the default CLI usage! This options is designed for duplicacy GUI.
:no_entry_sign: This options should is useful only for duplicacy GUI and therefore should **never** be used by duplicacy CLI!
### `-profile <address:port>` ### `-profile <address:port>`
@@ -73,6 +72,10 @@ But when you use this option: `ps ax | grep LONG_OPERATION` you will find your d
### -suppress LOGID, -s LOGID ### -suppress LOGID, -s LOGID
Do not print the log messages with the given log id. This option can be specified multiple times. Do not print the log messages with the given log id. This option can be specified multiple times.
### -print-memory-usage
Print the memory usage every second throughout the program execution.
### `-help, -h` ### `-help, -h`
Show the help. Show the help.