aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-26 04:53:20 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-26 04:53:20 +0300
commita9f63566c850f5a2f438490d14fc00ddacbe8d98 (patch)
tree72d1dbfca2b45e9bd2288a673eaae8b1a02036ff
parentfix/add missing usage messages for functions (diff)
downloadlinux-home-a9f63566c850f5a2f438490d14fc00ddacbe8d98.tar.gz
linux-home-a9f63566c850f5a2f438490d14fc00ddacbe8d98.zip
runc*: interface update
-rw-r--r--.bashrc_cxx8
1 files changed, 4 insertions, 4 deletions
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
;;