aboutsummaryrefslogtreecommitdiff
path: root/src/nix/nar-ls.md
diff options
context:
space:
mode:
authorAlexander Schmolck <a.schmolck+git@gmail.com>2023-04-30 14:55:08 +0100
committerAlexander Schmolck <a.schmolck+git@gmail.com>2023-05-17 08:10:30 +0100
commitafd9bd787dddc4e0d3e370f1b043e442ce1a9dbc (patch)
treef81c2a0a684e8fa14b4263c821df9e176dd5f1ba /src/nix/nar-ls.md
parent8d4b6766e297314f69ee96b6c9d74c6c2637f84b (diff)
Also use long options in src/nix/*.md
Diffstat (limited to 'src/nix/nar-ls.md')
-rw-r--r--src/nix/nar-ls.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/nar-ls.md b/src/nix/nar-ls.md
index d373f9715..5a03c5d82 100644
--- a/src/nix/nar-ls.md
+++ b/src/nix/nar-ls.md
@@ -5,7 +5,7 @@ R""(
* To list a specific file in a NAR:
```console
- # nix nar ls -l ./hello.nar /bin/hello
+ # nix nar ls --long ./hello.nar /bin/hello
-r-xr-xr-x 38184 hello
```
@@ -13,7 +13,7 @@ R""(
format:
```console
- # nix nar ls --json -R ./hello.nar /bin
+ # nix nar ls --json --recursive ./hello.nar /bin
{"type":"directory","entries":{"hello":{"type":"regular","size":38184,"executable":true,"narOffset":400}}}
```