aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-10 21:35:07 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-10 21:35:07 +0200
commite0c19ee620c53b52ca7cf69c19d414d782338be1 (patch)
treea28571713bc2558e09798d2f4bdc2d0220802649 /src/nix/ls.cc
parent91ddee6bf045b1c6144d14233abdb96127186ec3 (diff)
Add completion for paths
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r--src/nix/ls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc
index b9716a6a1..aac082422 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -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);
}