cli: CommandAdd: Remove unimplemented -a
This commit is contained in:
parent
d2885af463
commit
a1be088b7a
@ -40,7 +40,6 @@ int CommandAdd::handle(QStringList arguments)
|
|||||||
"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. If this option is not given, looqs will "
|
||||||
"exit asap, but it's possible that a few files will still be processed. "
|
"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. "},
|
||||||
{{"a", "all"}, "On error, no files should be added, even already processed ones"},
|
|
||||||
{{"v", "verbose"}, "Print skipped and added files"},
|
{{"v", "verbose"}, "Print skipped and added files"},
|
||||||
{{"t", "threads"}, "Number of threads to use.", "threads"}});
|
{{"t", "threads"}, "Number of threads to use.", "threads"}});
|
||||||
|
|
||||||
@ -50,10 +49,6 @@ int CommandAdd::handle(QStringList arguments)
|
|||||||
parser.process(arguments);
|
parser.process(arguments);
|
||||||
bool keepGoing = parser.isSet("continue");
|
bool keepGoing = parser.isSet("continue");
|
||||||
bool verbose = parser.isSet("verbose");
|
bool verbose = parser.isSet("verbose");
|
||||||
if(parser.isSet("all"))
|
|
||||||
{
|
|
||||||
throw LooqsGeneralException("To be implemented");
|
|
||||||
}
|
|
||||||
if(parser.isSet("threads"))
|
if(parser.isSet("threads"))
|
||||||
{
|
{
|
||||||
QString threadsCount = parser.value("threads");
|
QString threadsCount = parser.value("threads");
|
||||||
|
Loading…
Reference in New Issue
Block a user