Skip to content

Commit

Permalink
add short alias for strict
Browse files Browse the repository at this point in the history
Signed-off-by: xixi <[email protected]>
  • Loading branch information
Hexilee committed Mar 7, 2023
1 parent 30df2b6 commit 5064b14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ $ juicefs info -i 100`,
Usage: "get summary of directories recursively (NOTE: it may be inaccurate, use --strict to get accurate result)",
},
&cli.BoolFlag{
Name: "strict",
Usage: "get accurate summary of directories (NOTE: it may take a long time for huge trees)",
Name: "strict",
Aliases: []string{"s"},

This comment has been minimized.

Copy link
@davies

davies Mar 7, 2023

Contributor

we don't need a short alias for rarely used options, it's hard to remember

This comment has been minimized.

Copy link
@davies

davies Mar 7, 2023

Contributor

Once added, we can't change, it may conflict with others

Usage: "get accurate summary of directories (NOTE: it may take a long time for huge trees)",
},
&cli.BoolFlag{
Name: "raw",
Expand Down

0 comments on commit 5064b14

Please sign in to comment.