Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for all the flags #27

Open
supercrabtree opened this issue Jan 13, 2015 · 3 comments
Open

Add support for all the flags #27

supercrabtree opened this issue Jan 13, 2015 · 3 comments

Comments

@supercrabtree
Copy link
Owner

Many requests for flag support, so that peeps can use it just like ls

@supercrabtree
Copy link
Owner Author

All Flags (from http://linux.die.net/man/1/ls)

Supported

-a, --all
-A, --almost-all
-d, --directory
-h, --human-readable
--help

Extra (no in ls)

--no-vcs do not get VCS status (much faster)
-n don't show directorys

ToDo

--author
-b, --escape
--block-size=SIZE
-B, --ignore-backups
-c
-C
--color[=WHEN]
-D, --dired
-f
-F, --classify
--file-type
--format=WORD
--full-time
-g
--group-directories-first
-G, --no-group

--si
-H, --dereference-command-line
--dereference-command-line-symlink-to-dir
--hide=PATTERN
--indicator-style=WORD
-i, --inode
-I, --ignore=PATTERN
-k
-l
-L, --dereference
-m
-n, --numeric-uid-gid
-N, --literal
-o
-p, --indicator-style=slash
-q, --hide-control-chars
--show-control-chars
-Q, --quote-name
--quoting-style=WORD
-r, --reverse
-R, --recursive
-s, --size
-S
--sort=WORD
--time=WORD
--time-style=STYLE
-t
-T, --tabsize=COLS
-u
-U
-v
-w, --width=COLS
-x
-X
-1
--lcontext
-Z, --context
--scontext
--help
--version

@maelp
Copy link

maelp commented Jun 25, 2015

The -h options requires numfmt, but the documentation does not say how to install it, perhaps it could be added

On osX, brew install coreutils installs gnumfmt, so a fix would be to detect whether numfmt exists or use gnumfmt on Darwn

@chrstphrknwtn
Copy link
Contributor

@maelp I added checks for gnumfmt in c08c3d3, and I've just added notes to the readme for installing gnumfmt on OS X / Darwin with homebrew in 242a704 - excellent suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants