From 4ba8d5065fc890ff1af330b32df5d0fc8062b013 Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Tue, 11 Dec 2007 12:40:14 +0100 Subject: [PATCH] lshal: use -l as default for --show IMO lshal --show /-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. --- tools/lshal.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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 (); -- 1.5.3.7