better usage display - dossier - console collection manager
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e31a5aa8abc16d53c681e4917b434bc1d9020465
 (DIR) parent 1060b921d6a9ba07efb50b27a9c0113386197c95
 (HTM) Author: Solene Rapenne <solene@perso.pw>
       Date:   Fri, 20 Jul 2018 17:48:42 +0200
       
       better usage display
       
       Diffstat:
         M cdb                                 |      23 +++++++++++++++++------
       
       1 file changed, 17 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/cdb b/cdb
       @@ -186,12 +186,23 @@ list() {
        # displays usage
        usage() {
            printf '%s\n' \
       -           "cdb help" \
       -           "cdb export" \
       -           "cdb collections [register path name] [name]" \
       -           "cdb show [identifier]" \
       -           "cdb search [attribute [value]] ... [attribute [value]] ..." \
       -           "cdb identifier attribute value ... attribute value ..."
       +           "Get help" \
       +           ": cdb help" \
       +           "" \
       +           "Export data as CSV" \
       +           ": cdb export" \
       +           "" \
       +           "Show collections, register collections, switch current collection" \
       +           ": cdb collections [register path name] [name]" \
       +           "" \
       +           "Show items and display informations about an item" \
       +           ": cdb show [identifier]" \
       +           "" \
       +           "Look at attributes, search items having some values" \
       +           ": cdb search [attribute [value]] ... [attribute [value]] ..." \
       +           "" \
       +           "Add / Modify attributes values on an item" \
       +           ": cdb identifier attribute value ... attribute value ..."
            exit 0   
        }