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
@@ -85,7 +85,7 @@ struct CmdLsStore : StoreCommand, MixLs
{
CmdLsStore()
{
expectArg("path", &path);
expectPathArg("path", &path);
}
Examples examples() override
@@ -117,7 +117,7 @@ struct CmdLsNar : Command, MixLs
CmdLsNar()
{
expectArg("nar", &narPath);
expectPathArg("nar", &narPath);
expectArg("path", &path);
}