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

Sort improvements #144

Closed
dieggsy opened this issue Feb 25, 2017 · 1 comment
Closed

Sort improvements #144

dieggsy opened this issue Feb 25, 2017 · 1 comment
Assignees
Labels
features › arguments Command-line argument parsing

Comments

@dieggsy
Copy link

dieggsy commented Feb 25, 2017

It would be nice to be able to override previous 'sort' options with latter ones like so:

exa --group-directories-first --sort=extension --sort=created

This would sort by created, rather than printing the message Option 'sort' given more than once.. This makes defining aliases with a default sort and overriding that sort easier.

Also, is there planned support for "short" sort options (e.g. -X in gnu ls to sort by extension)?

@ogham
Copy link
Owner

ogham commented Mar 29, 2017

Hi! Allowing multiple arguments is being tracked in #125. The aliases case is something I completely missed, which is why I didn't see it as a big deal. The fix will probably be to change the options-parsing library to one that supports it.

Also, is there planned support for "short" sort options (e.g. -X in gnu ls to sort by extension)?

Maybe! I'll leave this issue open for now.

@ogham ogham self-assigned this Mar 29, 2017
@ogham ogham added this to the v1.0.0 milestone Mar 29, 2017
@ogham ogham added the features › arguments Command-line argument parsing label Mar 29, 2017
@ogham ogham closed this as completed in b5bcf22 Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features › arguments Command-line argument parsing
Projects
None yet
Development

No branches or pull requests

2 participants