View | Details | Raw Unified
Collapse All | Expand All

(-) zprod-manager (-7 / +11 lines)
 Lines 327-339    Link Here 
### MAIN
### MAIN
case "${#}" in
if [ ${!#} = "--help" ] ; then
    0) mode_help ;;
    mode_help
    1) mode_interactive ${1} ;;
else
    2) mode_defaultZinst ${1} ${2} ;;
    case "${#}" in
    3) mode_explicit ${1} ${2} ${3} ;;
        0) mode_help ;;
    *) mode_help "Error: Too many parameters" ;;
        1) mode_interactive ${1} ;;
esac
        2) mode_defaultZinst ${1} ${2} ;;
        3) mode_explicit ${1} ${2} ${3} ;;
        *) mode_help "Error: Too many parameters" ;;
    esac
fi
RESULT=$?
RESULT=$?