aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-26 15:15:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-26 15:15:27 +0300
commiteb88c0768e5c2528116a0f5685cfa5a8f7a2099c (patch)
tree3e4a4da9f352add2e5302984e31dd790d7803e09
parentrunc*: interface update (diff)
downloadlinux-home-eb88c0768e5c2528116a0f5685cfa5a8f7a2099c.tar.gz
linux-home-eb88c0768e5c2528116a0f5685cfa5a8f7a2099c.zip
code style
Diffstat (limited to '')
-rw-r--r--.bashrc_cxx26
1 files changed, 20 insertions, 6 deletions
diff --git a/.bashrc_cxx b/.bashrc_cxx
index 8243167..7ce52ee 100644
--- a/.bashrc_cxx
+++ b/.bashrc_cxx
@@ -16,7 +16,10 @@ runc() (
echo "$FUNCNAME: missing argument for parameter: $1" >&2
return 1
fi
- shift ; c_flags+=("$1") ; shift ;;
+ shift
+ c_flags+=("$1")
+ shift
+ ;;
-h)
echo "usage: $FUNCNAME [-h] [-c|--c-flags FLAG]"
@@ -24,10 +27,14 @@ runc() (
;;
--)
- shift ; break ;;
+ shift
+ break
+ ;;
*)
- src_files+=("$( realpath "$1" )") ; shift ;;
+ src_files+=("$( realpath "$1" )")
+ shift
+ ;;
esac
done
@@ -61,7 +68,10 @@ runcxx() (
echo "$FUNCNAME: missing argument for parameter: $1" >&2
return 1
fi
- shift ; cxx_flags+=("$1") ; shift ;;
+ shift
+ cxx_flags+=("$1")
+ shift
+ ;;
-h)
echo "usage: $FUNCNAME [-h] [-c|--cxx-flags FLAG]"
@@ -69,10 +79,14 @@ runcxx() (
;;
--)
- shift ; break ;;
+ shift
+ break
+ ;;
*)
- src_files+=("$( realpath "$1" )") ; shift ;;
+ src_files+=("$( realpath "$1" )")
+ shift
+ ;;
esac
done