summaryrefslogtreecommitdiffstats
path: root/bin/hostinfo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hostinfo')
-rwxr-xr-xbin/hostinfo6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/hostinfo b/bin/hostinfo
index 4a48e2b..0a36f67 100755
--- a/bin/hostinfo
+++ b/bin/hostinfo
@@ -97,12 +97,14 @@ def print_search(basepath, flags, search, filter_key=None):
p = printer.Printer(data, flags)
if filter_key is not None or flags.details:
- p.info(filter_key, label=_get_label(host), maxlength=max(length))
+ p.info(filter_key, label=_get_label(host),
+ maxlength=max(length), force=True)
else:
if key is None:
print(_get_label(host))
else:
- p.info(key, label=_get_label(host), maxlength=max(length))
+ p.info(key, label=_get_label(host),
+ maxlength=max(length), force=True)
def print_info(path, flags, key=None):
data = _get_data(path)