cli: CommandAdd: Mention we read from stdin when no path is given

このコミットが含まれているのは:
Albert S. 2022-06-23 11:09:55 +02:00
コミット 72dae1f7be
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -47,7 +47,8 @@ int CommandAdd::handle(QStringList arguments)
{{"t", "threads"}, "Number of threads to use.", "threads"}});
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);
this->keepGoing = parser.isSet("continue");