diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-26 15:15:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-26 15:15:27 +0300 |
commit | eb88c0768e5c2528116a0f5685cfa5a8f7a2099c (patch) | |
tree | 3e4a4da9f352add2e5302984e31dd790d7803e09 /.bashrc_cxx | |
parent | runc*: interface update (diff) | |
download | linux-home-eb88c0768e5c2528116a0f5685cfa5a8f7a2099c.tar.gz linux-home-eb88c0768e5c2528116a0f5685cfa5a8f7a2099c.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | .bashrc_cxx | 26 |
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 |