hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Tue Dec 11 03:40:29 PST 2007
tools/lshal.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit de709b28b744b1221b7111ed836a9317d02369a6
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Tue Dec 11 12:40:14 2007 +0100
lshal: use -l as default for --show
IMO lshal --show <udi>/-u make no sense without -l as option to show the
complete device. This patch set long_list=TRUE by default if --show/-u is
used.
diff --git a/tools/lshal.c b/tools/lshal.c
index 7e2bf82..78cd0e6 100644
--- a/tools/lshal.c
+++ b/tools/lshal.c
@@ -826,8 +826,10 @@ main (int argc, char *argv[])
libhal_ctx_set_interface_lock_acquired (hal_ctx, interface_lock_acquired);
libhal_ctx_set_interface_lock_released (hal_ctx, interface_lock_released);
- if (show_device)
+ if (show_device) {
+ long_list = TRUE;
dump_device (show_device);
+ }
else if (!do_monitor)
dump_devices ();
More information about the hal-commit
mailing list