iankelling.org
/
git
/
cedit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f89fb6
)
small refactor for simplification
author
Ian Kelling
<ian@iankelling.org>
Mon, 5 Sep 2016 06:52:14 +0000
(23:52 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 5 Sep 2016 06:52:14 +0000
(23:52 -0700)
cedit
patch
|
blob
|
history
diff --git
a/cedit
b/cedit
index 7fbf7439338b159685d527cbb32ea5c191bbab76..0a6b4c938a74e9d79fa212d9bc21e852b1f46c0a 100755
(executable)
--- a/
cedit
+++ b/
cedit
@@
-29,13
+29,10
@@
section. cedit is short for config edit.
local verbose=false
case $1 in
+ -v) verbose=true; shift ;;
-h|--help) echo "$help"; return ;;
esac
- if [[ $1 == -v ]]; then
- verbose=true
- shift
- fi
if (( $# == 2 )); then
name=": $1"
shift