diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-08-19 11:11:07 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-08-19 11:11:07 +0000 |
commit | 1271a7b56ceb6fe23597983090a27ffa67992b28 (patch) | |
tree | 97b341eeff9df6f861ba54218dfc40900e902285 /modules/news.eselect | |
parent | For help actions, reset the output mode to default. (diff) | |
download | eselect-1271a7b56ceb6fe23597983090a27ffa67992b28.tar.gz eselect-1271a7b56ceb6fe23597983090a27ffa67992b28.tar.bz2 eselect-1271a7b56ceb6fe23597983090a27ffa67992b28.zip |
Suppress "none found" messages in brief output mode.
svn path=/trunk/; revision=629
Diffstat (limited to 'modules/news.eselect')
-rw-r--r-- | modules/news.eselect | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/news.eselect b/modules/news.eselect index 62c997d..74bdde5 100644 --- a/modules/news.eselect +++ b/modules/news.eselect @@ -194,7 +194,8 @@ do_list() { "${posted}$(space $((12 - ${#posted})))(read) ${title}" fi done - [[ $# -eq 0 ]] && write_kv_list_entry "(none found)" "" + [[ $# -eq 0 && ${ESELECT_OUTPUT_MODE} != brief]] \ + && write_kv_list_entry "(none found)" "" } ### count action |