diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-10 21:35:07 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-05-10 21:35:07 +0200 |
commit | e0c19ee620c53b52ca7cf69c19d414d782338be1 (patch) | |
tree | a28571713bc2558e09798d2f4bdc2d0220802649 /src/nix/cat.cc | |
parent | 91ddee6bf045b1c6144d14233abdb96127186ec3 (diff) |
Add completion for paths
Diffstat (limited to 'src/nix/cat.cc')
-rw-r--r-- | src/nix/cat.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/cat.cc b/src/nix/cat.cc index fd91f2036..eeee1e529 100644 --- a/src/nix/cat.cc +++ b/src/nix/cat.cc @@ -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); } |