mirror of
https://github.com/sheumann/hush.git
synced 2025-02-25 16:29:01 +00:00
Fix broken sort order flags.
This commit is contained in:
parent
948d4907a0
commit
1117c5281b
@ -920,10 +920,10 @@ static const unsigned opt_flags[] = {
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_LS_SORTFILES
|
#ifdef CONFIG_FEATURE_LS_SORTFILES
|
||||||
SORT_ORDER_REVERSE, /* r */
|
|
||||||
SORT_SIZE, /* S */
|
SORT_SIZE, /* S */
|
||||||
|
SORT_EXT, /* X */
|
||||||
|
SORT_ORDER_REVERSE, /* r */
|
||||||
SORT_VERSION, /* v */
|
SORT_VERSION, /* v */
|
||||||
SORT_EXT, /* v */
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_LS_FILETYPES
|
#ifdef CONFIG_FEATURE_LS_FILETYPES
|
||||||
LIST_FILETYPE | LIST_EXEC, /* F */
|
LIST_FILETYPE | LIST_EXEC, /* F */
|
||||||
@ -1110,7 +1110,6 @@ extern int ls_main(int argc, char **argv)
|
|||||||
cur = cur->next;
|
cur = cur->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (all_fmt & DISP_NOLIST) {
|
if (all_fmt & DISP_NOLIST) {
|
||||||
#ifdef CONFIG_FEATURE_LS_SORTFILES
|
#ifdef CONFIG_FEATURE_LS_SORTFILES
|
||||||
shellsort(dnp, nfiles);
|
shellsort(dnp, nfiles);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user