aboutsummaryrefslogtreecommitdiff
path: root/g.sh
diff options
context:
space:
mode:
authorMiquel Sabaté <msabate@suse.com>2015-07-28 09:47:08 +0200
committerMiquel Sabaté <msabate@suse.com>2015-07-28 09:47:08 +0200
commite7acbf93173469f8dd450961419a1f36c5adf555 (patch)
tree4027713f64ac029df3585fef2b4248209150df42 /g.sh
parent8606da8b5112897f8abddd5bfafd3a8939795621 (diff)
downloadg-e7acbf93173469f8dd450961419a1f36c5adf555.tar.gz
g-e7acbf93173469f8dd450961419a1f36c5adf555.zip
Use the proper format for optional arguments
Diffstat (limited to 'g.sh')
-rw-r--r--g.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/g.sh b/g.sh
index 4aeaa2a..7066319 100644
--- a/g.sh
+++ b/g.sh
@@ -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