cli: commandadd: Improve help message
Tento commit je obsažen v:
rodič
4c5643e342
revize
4b3ebb08c2
@ -41,13 +41,13 @@ int CommandAdd::handle(QStringList arguments)
|
|||||||
{
|
{
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.addOptions({{{"c", "continue"},
|
parser.addOptions({{{"c", "continue"},
|
||||||
"Continue adding files, don't exit on first error. If this option is not given, looqs will "
|
"Continue adding files, don't exit on first error. Exit code will be 0. If this option is not "
|
||||||
"exit asap, but it's possible that a few files will still be processed. "
|
"given, looqs 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. "},
|
"Set -t 1 to avoid this behavior, but processing will be slower. "},
|
||||||
{{"n", "no-content"}, "Only add paths to database. Do not index content"},
|
{{"n", "no-content"}, "Only add paths to database. Do not index content"},
|
||||||
{{"v", "verbose"}, "Print paths of files being processed"},
|
{{"v", "verbose"}, "Print paths of files being processed"},
|
||||||
{{"f", "fill-content"}, "Index content for files previously indexed with -n"},
|
{{"f", "fill-content"}, "Index content for files previously indexed with -n"},
|
||||||
{"tags", "Comma-separated list of tags to assign"},
|
|
||||||
{{"t", "threads"}, "Number of threads to use.", "threads"}});
|
{{"t", "threads"}, "Number of threads to use.", "threads"}});
|
||||||
parser.addHelpOption();
|
parser.addHelpOption();
|
||||||
parser.addPositionalArgument("add", "Add paths to the index",
|
parser.addPositionalArgument("add", "Add paths to the index",
|
||||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele