Skip to content

Commit

Permalink
update options, add unused opt
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ward committed Jul 22, 2024
1 parent f690eb5 commit 66ff00a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
all:
-mkdir bin
v -prod lsv -o bin/lsv

unused:
-mkdir bin
v -prod -skip-unused lsv -o bin/lsv

2 changes: 1 addition & 1 deletion lsv/options.v
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ fn parse_args(args []string) Options {
colorize := fp.bool('', `c`, false, 'color the listing')
dir_indicator := fp.bool('', `D`, false, 'append / to directories')
icons := fp.bool('', `i`, false, 'show file icon (requires nerd fonts)')
long_format := fp.bool('', `l`, false, 'long listing format')
with_commas := fp.bool('', `m`, false, 'list of files separated by commas')
quote := fp.bool('', `q`, false, 'enclose files in quotes')
recursive := fp.bool('', `R`, false, 'list subdirectories recursively')
Expand All @@ -108,7 +109,6 @@ fn parse_args(args []string) Options {
table_format := fp.bool('', `B`, false, 'add borders to long listing format')
size_ki := fp.bool('', `k`, false, 'sizes in kibibytes (1024) (e.g. 1k 234m 2g)')
size_kb := fp.bool('', `K`, false, 'sizes in Kilobytes (1000) (e.g. 1kb 234mb 2gb)')
long_format := fp.bool('', `l`, false, 'long listing format')
octal_permissions := fp.bool('', `o`, false, 'show octal permissions')
relative_path := fp.bool('', `p`, false, 'show relative path')
accessed_date := fp.bool('', `A`, false, 'show last accessed date')
Expand Down

0 comments on commit 66ff00a

Please sign in to comment.