From e74ab809aed3aa964d04942d45966a9e9fe1009b Mon Sep 17 00:00:00 2001 From: Jeff Coffler Date: Wed, 28 Mar 2018 09:41:56 -0700 Subject: [PATCH] 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"