Add completion for paths

This commit is contained in:
Eelco Dolstra
2020-05-10 21:35:07 +02:00
parent 91ddee6bf0
commit e0c19ee620
13 changed files with 82 additions and 15 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ struct CmdCatStore : StoreCommand, MixCat
{
CmdCatStore()
{
expectArg("path", &path);
expectPathArg("path", &path);
}
std::string description() override
@@ -47,7 +47,7 @@ struct CmdCatNar : StoreCommand, MixCat
CmdCatNar()
{
expectArg("nar", &narPath);
expectPathArg("nar", &narPath);
expectArg("path", &path);
}