cli: CommandAdd: Mention we read from stdin when no path is given
Šī revīzija ir iekļauta:
vecāks
e01f5d6490
revīzija
72dae1f7be
@ -47,7 +47,8 @@ int CommandAdd::handle(QStringList arguments)
|
|||||||
{{"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", "add [paths...]");
|
parser.addPositionalArgument("add", "Add paths to the index",
|
||||||
|
"add [paths...]. If no path is given, read from stdin, one path per line.");
|
||||||
|
|
||||||
parser.process(arguments);
|
parser.process(arguments);
|
||||||
this->keepGoing = parser.isSet("continue");
|
this->keepGoing = parser.isSet("continue");
|
||||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user