From a9f63566c850f5a2f438490d14fc00ddacbe8d98 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 26 Jul 2016 04:53:20 +0300 Subject: runc*: interface update --- .bashrc_cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.bashrc_cxx') diff --git a/.bashrc_cxx b/.bashrc_cxx index b3b5bee..8243167 100644 --- a/.bashrc_cxx +++ b/.bashrc_cxx @@ -11,7 +11,7 @@ runc() ( while [ "$#" -gt 0 ]; do case "$1" in - --c-flags) + -c|--c-flags) if [ "$#" -le 1 ]; then echo "$FUNCNAME: missing argument for parameter: $1" >&2 return 1 @@ -19,7 +19,7 @@ runc() ( shift ; c_flags+=("$1") ; shift ;; -h) - echo "usage: $FUNCNAME [-h] [--c-flags FLAG]" + echo "usage: $FUNCNAME [-h] [-c|--c-flags FLAG]" return 0 ;; @@ -56,7 +56,7 @@ runcxx() ( while [ "$#" -gt 0 ]; do case "$1" in - --cxx-flags) + -c|--cxx-flags) if [ "$#" -le 1 ]; then echo "$FUNCNAME: missing argument for parameter: $1" >&2 return 1 @@ -64,7 +64,7 @@ runcxx() ( shift ; cxx_flags+=("$1") ; shift ;; -h) - echo "usage: $FUNCNAME [-h] [--cxx-flags FLAG]" + echo "usage: $FUNCNAME [-h] [-c|--cxx-flags FLAG]" return 0 ;; -- cgit v1.2.3