ls but with io_uring

Add toggle to hide file mode, owner and group information #11

open opened by abeestrada.com targeting main from abeestrada.com/lsr: hide-mode-user-group
Labels

None yet.

Participants 2
AT URI
at://did:plc:ihr3z4bh6oia5lfrh2b4duk2/sh.tangled.repo.pull/3lppeg4ewzv22
+7 -7
Interdiff #0 โ†’ #1
+7 -7
src/main.zig
··· 16 16 17 17 18 18 19 - 20 - 21 - 22 - 19 + \\ -A, --almost-all Like --all, but skips implicit "." and ".." directories 20 + \\ -C, --columns Print the output in columns 21 + \\ --color=WHEN When to use colors (always, auto, never) 22 + \\ --group=WHEN When to display group (always, auto, never) 23 + \\ --group-directories-first Print all directories before printing regular files 23 24 \\ --hyperlinks=WHEN When to use OSC 8 hyperlinks (always, auto, never) 24 25 \\ --icons=WHEN When to display icons (always, auto, never) 25 26 \\ -l, --long Display extended file metadata 26 27 \\ --mode=WHEN When to display mode (always, auto, never) 27 - \\ --user=WHEN When to display user (always, auto, never) 28 - \\ --group=WHEN When to display group (always, auto, never) 29 28 \\ -r, --reverse Reverse the sort order 30 29 \\ -t, --time Sort the entries by modification time, most recent first 30 + \\ --user=WHEN When to display user (always, auto, never) 31 31 \\ 32 - 32 + ; 33 33 34 34 35 35

History

3 rounds 1 comment
sign up or login to add to the discussion
2 commits
expand
feat: add options to hide file mode, owner and/or group
fmt: order options in alphabetical order
merge conflicts detected
expand
  • src/main.zig:24
expand 1 comment
  1. Let's add the posix flags too (-o to disable showing owner, -g to disable showing group)
  2. The arg parsing should use parseArgBool rather than WHEN
2 commits
expand
feat: add options to hide file mode, owner and/or group
fmt: order options in alphabetical order
expand 0 comments
1 commit
expand
feat: add options to hide file mode, owner and/or group
expand 0 comments