diff options
| author | Miquel Sabaté <msabate@suse.com> | 2015-07-28 09:47:08 +0200 |
|---|---|---|
| committer | Miquel Sabaté <msabate@suse.com> | 2015-07-28 09:47:08 +0200 |
| commit | e7acbf93173469f8dd450961419a1f36c5adf555 (patch) | |
| tree | 4027713f64ac029df3585fef2b4248209150df42 | |
| parent | 8606da8b5112897f8abddd5bfafd3a8939795621 (diff) | |
| download | g-e7acbf93173469f8dd450961419a1f36c5adf555.tar.gz g-e7acbf93173469f8dd450961419a1f36c5adf555.zip | |
Use the proper format for optional arguments
| -rw-r--r-- | g.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ # Print the usage string. usage() { - echo "usage: g [-h | --help] [-v | --version] <command> <args>" + echo "usage: g [-h | --help] [-v | --version] <command> [<args>]" } # Print the help message. @@ -65,7 +65,7 @@ save_shortcuts() { # The main function for this script. g() { - version="0.3.2" + version="0.3.3" cmd="$1" gfile=$HOME/.gfile declare -A gshortcuts |
