]> arthur.barton.de Git - bup.git/commit
ls: make multiple arguments match real ls
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Jul 2020 20:42:46 +0000 (22:42 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sun, 18 Apr 2021 18:38:13 +0000 (13:38 -0500)
commit302103a96a52de1599ba6b05c68a1072ef85379e
tree3ae774562563430f1e97f68311101215c53f94d5
parentc52ae4b8fea2d3fb3e4697206f22e5916a3f5e64
ls: make multiple arguments match real ls

Currently, passing multiple arguments to ls causes it to print
them all in a single list, which can be very confusing as it'll
even columnate them together.

Make this match real ls behaviour (at least as observed on my
system) that prints which path it's giving the output for.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/ls.py