applemcg / bash

Bash Function Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list with no arguments; what to do

applemcg opened this issue · comments

instead of echoing an empty list calling list with no arguments should do one of a few things:

*nothing
*show existing lists, e.g. list_lists
*show list_help

  • ...

If list with no args does 'show existing lists', then include message like "No list specified; listing all lists."

If list with no args does 'show list_help', then start with message like "No list specified."

agreed on either/both counts.

settling on first suggestion: message on standard error