diff options
-rwxr-xr-x | shatom | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shatom b/shatom index ee2d676..8e3abe5 100755 --- a/shatom +++ b/shatom | |||
@@ -34,10 +34,11 @@ EOF | |||
34 | 34 | ||
35 | main() { | 35 | main() { |
36 | # Command-line flags | 36 | # Command-line flags |
37 | while getopts hc: opt; do | 37 | while getopts hc:C: opt; do |
38 | case "$opt" in | 38 | case "$opt" in |
39 | h) usage ;; | 39 | h) usage ;; |
40 | c) CONFIG="$OPTARG" ;; | 40 | c) CONFIG="$OPTARG" ;; |
41 | C) cd "$OPTARG" || exit 2 ;; | ||
41 | *) usage 1 ;; | 42 | *) usage 1 ;; |
42 | esac | 43 | esac |
43 | done | 44 | done |