From e74ab809aed3aa964d04942d45966a9e9fe1009b Mon Sep 17 00:00:00 2001 From: Jeff Coffler Date: Wed, 28 Mar 2018 09:41:56 -0700 Subject: [PATCH 1/2] Add new qualifier, `-comment`, to more easily identify specific jobs. This qualifier allows specific text to be associated with a backup job to easily associate what repository (or other context) a duplicacy job is running on behalf of. --- duplicacy/duplicacy_main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/duplicacy/duplicacy_main.go b/duplicacy/duplicacy_main.go index 8c5015e..ef68eef 100644 --- a/duplicacy/duplicacy_main.go +++ b/duplicacy/duplicacy_main.go @@ -1846,7 +1846,11 @@ func main() { Usage: "enable the profiling tool and listen on the specified address:port", Argument: "", }, -} + cli.StringFlag{ + Name: "comment", + Usage: "value that is ignored by duplicity (useful for identifying process)", + }, + } app.HideVersion = true app.Name = "duplicacy" From c6e9460b7bd1269d5cfc97d8ed8cf86d665e6754 Mon Sep 17 00:00:00 2001 From: Jeff Coffler Date: Wed, 28 Mar 2018 11:22:06 -0700 Subject: [PATCH 2/2] Add 'How to build' reference to README.md. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bf9ebc6..aee7ccc 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ The key idea of **[Lock-Free Deduplication](https://github.com/gilbertchen/dupli * [A brief introduction](https://github.com/gilbertchen/duplicacy/wiki/Quick-Start) * [Command references](https://github.com/gilbertchen/duplicacy/wiki) +* [Building from source](https://github.com/gilbertchen/duplicacy/wiki/Installation) ## Storages