aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-18 21:36:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-18 21:36:54 +0300
commit81c82c5c2a024d176caec926d3975bb47301ada2 (patch)
treec24169667c3913616818e41be0281332a9273e1e
parentrunc*: add command line options (diff)
downloadlinux-home-81c82c5c2a024d176caec926d3975bb47301ada2.tar.gz
linux-home-81c82c5c2a024d176caec926d3975bb47301ada2.zip
code style
Diffstat (limited to '')
-rw-r--r--.bashrc26
1 files changed, 6 insertions, 20 deletions
diff --git a/.bashrc b/.bashrc
index 47deb7d..e986c91 100644
--- a/.bashrc
+++ b/.bashrc
@@ -278,20 +278,13 @@ runc() (
echo "$FUNCNAME: usage error: missing value for option: $1" >&2
return 1
fi
- shift
- c_flags+=("$1")
- shift
- ;;
+ shift ; c_flags+=("$1") ; shift ;;
--)
- shift
- break
- ;;
+ shift ; break ;;
*)
- src_files+=("$( realpath "$1" )")
- shift
- ;;
+ src_files+=("$( realpath "$1" )") ; shift ;;
esac
done
@@ -325,20 +318,13 @@ runcxx() (
echo "$FUNCNAME: usage error: missing value for option: $1" >&2
return 1
fi
- shift
- cxx_flags+=("$1")
- shift
- ;;
+ shift ; cxx_flags+=("$1") ; shift ;;
--)
- shift
- break
- ;;
+ shift ; break ;;
*)
- src_files+=("$( realpath "$1" )")
- shift
- ;;
+ src_files+=("$( realpath "$1" )") ; shift ;;
esac
done