From 96b0071073f582ecd5657597dbb9489a754e0f20 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 16 Jan 2012 11:19:17 +0100 Subject: [PATCH] add new option --- ezsync | 3 +++ libraries/common | 1 + 2 files changed, 4 insertions(+) diff --git a/ezsync b/ezsync index 17b10d1..3fa86ca 100755 --- a/ezsync +++ b/ezsync @@ -25,6 +25,9 @@ until [[ -z "${1}" ]]; do -h|--help) showEzsyncUsage ;; + -l|--listmods) + listModules + ;; -n|--nosync) shift if [ -z ${1} ]; then diff --git a/libraries/common b/libraries/common index 71fc19b..44915c9 100644 --- a/libraries/common +++ b/libraries/common @@ -370,6 +370,7 @@ function showEzsyncUsage() { echo -e "USAGE: ezsync [parameters]" echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P" echo -e " -h\t--help\t\tdisplays this screen and exits immediately" + echo -e " -l\t--listmods\tshows the list of available built-in modules" echo -e " -n\t--nosync\tspecifies the ebuilds source that will be omitted" echo -e " -N\t--nopush\tavoids automatic commits into repositories" echo -e " -p\t--purge\t\tclears temporary folder"