OSDN Git Service

More ls cleanups from squinting at Jose's most recent smack patch.
authorRob Landley <rob@landley.net>
Thu, 30 Apr 2015 21:51:50 +0000 (16:51 -0500)
committerRob Landley <rob@landley.net>
Thu, 30 Apr 2015 21:51:50 +0000 (16:51 -0500)
commit5e18bae30a80d6149e47d9adb1acb3a64bac7c08
tree56c5e81d9f7c459557d405db2f03cb92fabe719b
parente7c09548b9c6188857260064c8ceba03d850c4b7
More ls cleanups from squinting at Jose's most recent smack patch.

Behavior change in flags: allow -long to work together, and -l1 work like -l
not -1.

I didn't make ls -gCl remember the g, though. (Because -Cg and -gC take
the last one: I'll preserve explicit state but not implicit state. And if
-1Cl and -lC1 aren't going to behave the same, it wasn't consistent anyway.)
toys/posix/ls.c