From e12d208b5fbb1e3e273702bc48d9fb3591780a00 Mon Sep 17 00:00:00 2001 From: Albert S Date: Tue, 30 Apr 2019 23:43:31 +0200 Subject: [PATCH] cli: describe --continue in more detail --- cli/commandadd.cpp | 3 ++- cli/commandupdate.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/commandadd.cpp b/cli/commandadd.cpp index bf635c8..3e4ed0e 100644 --- a/cli/commandadd.cpp +++ b/cli/commandadd.cpp @@ -21,7 +21,8 @@ int CommandAdd::handle(QStringList arguments) { QCommandLineParser parser; parser.addOptions({ - { { "c", "continue" }, "Continue adding files, don't exit on first error"}, + { { "c", "continue" }, "Continue adding files, don't exit on first error. If this option is not given, qss will exit asap, but it's possible that a few files will still be processed. " + "Set -t 1 to avoid this behavior, but processing will be slower. "}, { { "a", "all" }, "On error, no files should be added, even already processed ones" }, { { "v", "verbose" }, "Print skipped and added files" }, { { "t", "threads" }, "Number of threads to use.", "threads" } diff --git a/cli/commandupdate.cpp b/cli/commandupdate.cpp index b4386a0..c734fec 100644 --- a/cli/commandupdate.cpp +++ b/cli/commandupdate.cpp @@ -15,7 +15,8 @@ int CommandUpdate::handle(QStringList arguments) { { "n", "dry-run"}, "Only print which files would be updated, don't actually update them"}, { "pattern", "Only consider to update files in the index matching the pattern, e. g. */.git/*.", "pattern" }, { { "d", "delete" }, "If a file does not exist anymore, delete it" }, - { { "c", "continue" }, "Continue adding files, don't exit on first error"}, + { { "c", "continue" }, "Continue adding files, don't exit on first error. If this option is not given, qss will exit asap, but it's possible that a few files will still be processed. " + "Set -t 1 to avoid this behavior, but processing will be slower."}, { { "a", "all" }, "On error, no files should be updated, even already processed ones" }, { { "t", "threads" }, "Number of threads to use.", "threads" }