From 40ca97e0674202f00a1e6401e6c52a03b07f6fa6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 18 Jan 2010 00:15:37 -0500 Subject: Add -c option for specifying alternate config --- squashfu | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'squashfu') diff --git a/squashfu b/squashfu index c6e211e..9830965 100755 --- a/squashfu +++ b/squashfu @@ -362,7 +362,7 @@ usage () { cat < + squashfu [options] ACTIONS -B @@ -383,13 +383,19 @@ ACTIONS Unmount squash and union. Although SquashFu will always check and unmount as necessary before an operation, this is provided as a safeguard. + OPTIONS + -c + Specify an alternate config file. Options defined will override options in + the default config. If you specify alternate locations via a supplmenetal config, + you will need to provide the config for all actions + HELP exit 0 } [[ -z $1 ]] && ( usage; exit 1; ) -while getopts :BCQR:U opt; do +while getopts :BCQR:Uc: opt; do case $opt in B) action=backup -- cgit v1.2.3