Skip to content

Commit 006c9e1

Browse files
committed
remove args --
1 parent 13ff9b3 commit 006c9e1

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ foo_bar.exr
4747
aaa.***.tif@1-5
4848
```
4949

50-
Run `fls -- /path/of/directory/` to list a specific directory.
50+
Run `fls /path/of/directory/` to list a specific directory.
5151

5252
Exemple with the sample set **big** at the root level of the repo
5353

5454
```bash
55-
$ fls -- samples/big/
55+
$ fls samples/big/
5656
RenderPass_Pcam_1_*****.exr@0-96
5757
RenderPass_Beauty_1_*****.exr@0-96
5858
RenderPass_IndDiffuse_1_*****.exr@0-96
@@ -74,10 +74,10 @@ Inspired by rvls. You can use `-l`
7474

7575
Run `fls -l` to list your current directory and display EXR informations.
7676

77-
Run `fls -l -- /path/of/directory/` to list a specific directory and display EXR informations.
77+
Run `fls -l /path/of/directory/` to list a specific directory and display EXR informations.
7878

7979
```bash
80-
$ fls -l -- samples/big/
80+
$ fls -l samples/big/
8181
RenderPass_Beauty_1_*****.exr@0-96
8282
RenderPass_Occlusion_1_*****.exr@0-73,75-96
8383
RenderPass_Id_1_*****.exr@0-96
@@ -112,11 +112,11 @@ You can use a recursive approch of the directory and sub-folder
112112

113113
You can use `-r`
114114

115-
Run `fls -r -- /path/of/directory/` to list a specific directory and his
115+
Run `fls -r /path/of/directory/` to list a specific directory and his
116116
subfolder
117117

118118
```bash
119-
$ fls -r -- .\samples\
119+
$ fls -r .\samples\
120120
.\samples\big\RenderPass_Diffuse_1_*****.exr@0-96
121121
.\samples\big\RenderPass_Ncam_1_00042.exr.bkp
122122
.\samples\big\RenderPass_DiffuseKey_1_*****.exr@0-96
@@ -145,11 +145,11 @@ You can use `-t`
145145

146146
Always use `-r` to use the tree mode.
147147

148-
Run `fls -t -r -- /path/of/directory/` to list a specific directory and his
148+
Run `fls -t -r /path/of/directory/` to list a specific directory and his
149149
subfolder
150150

151151
```bash
152-
$ fls -t -r -- .\samples\
152+
$ fls -t -r .\samples\
153153
154154
┗ samples
155155
┗ big
@@ -188,8 +188,8 @@ Here benchmarks done with [hyperfine](https://github.com/sharkdp/hyperfine) with
188188
| Time | 4.7 ms | 23.3 ms | 33.5 ms | 41.8 ms |
189189

190190
```bash
191-
hyperfine -N --warmup 3 'target/release/fls -- ./samples/big/'
192-
Benchmark 1: target/release/fls -- ./samples/big/
191+
hyperfine -N --warmup 3 'target/release/fls ./samples/big/'
192+
Benchmark 1: target/release/fls ./samples/big/
193193
Time (mean ± σ): 4.7 ms ± 0.7 ms [User: 4.9 ms, System: 1.7 ms]
194194
Range (min … max): 4.3 ms … 11.5 ms 560 runs
195195
```

docs/content/docs/advanced/arguments.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ top = false
1818

1919
Run `fls -l` to list your current directory and display EXR informations.
2020

21-
Run `fls -l -- /path/of/directory/` to list a specific directory and display EXR informations.
21+
Run `fls -l /path/of/directory/` to list a specific directory and display EXR informations.
2222

2323
```bash
24-
$ fls -l -- samples/big/
24+
$ fls -l samples/big/
2525
RenderPass_Beauty_1_*****.exr@0-96
2626
RenderPass_Occlusion_1_*****.exr@0-73,75-96
2727
RenderPass_Id_1_*****.exr@0-96
@@ -56,11 +56,11 @@ You can use a recursive approch of the directory and sub-folder
5656

5757
You can use `-r`
5858

59-
Run `fls -r -- /path/of/directory/` to list a specific directory and his
59+
Run `fls -r /path/of/directory/` to list a specific directory and his
6060
subfolder
6161

6262
```bash
63-
$ fls -r -- .\samples\
63+
$ fls -r .\samples\
6464
.\samples\big\RenderPass_Diffuse_1_*****.exr@0-96
6565
.\samples\big\RenderPass_Ncam_1_00042.exr.bkp
6666
.\samples\big\RenderPass_DiffuseKey_1_*****.exr@0-96
@@ -91,11 +91,11 @@ You can use `-t` or `--tree`
9191

9292
Always use `-r` to use the tree mode.
9393

94-
Run `fls -t -r -- /path/of/directory/` to list a specific directory and his
94+
Run `fls -t -r /path/of/directory/` to list a specific directory and his
9595
subfolder
9696

9797
```bash
98-
$ fls -t -r -- .\samples\
98+
$ fls -t -r .\samples\
9999
100100
┗ samples
101101
┗ big

docs/content/docs/getting-started/quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ aaa.***.tif@1-5
7474

7575
#### Specific directory
7676

77-
Run `fls -- /path/of/directory/` to list a specific directory.
77+
Run `fls /path/of/directory/` to list a specific directory.
7878

7979
Exemple with the sample set **big** at the root level of the repo
8080

8181
```bash
82-
$ fls -- ./samples/big/
82+
$ fls ./samples/big/
8383
RenderPass_Pcam_1_*****.exr@0-96
8484
RenderPass_Beauty_1_*****.exr@0-96
8585
RenderPass_IndDiffuse_1_*****.exr@0-96

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
//! The main objective is to be the fastest as possible using rustlang.
2727
//! --list Display EXR metadata size and channels description
2828
//! --recursive Use a recursive approch of listing dir
29-
//! -- <root> Path to parse
29+
//! <root> Path to parse
3030
//! ```
3131
//! ## Example
3232
//! ```bash
33-
//! $ fls --list --recursive -- ./samples/small
33+
//! $ fls --list --recursive ./samples/small
3434
//! ./samples/small/RenderPass_Beauty_1_*****.exr@0-9 1920x1080, RGBA
3535
//! ```
3636
mod exr_metadata;

0 commit comments

Comments
 (0)