Skip to content

Commit

Permalink
matlab-cmd: --help
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminoakes committed Jun 24, 2010
1 parent e60f615 commit ba1b6a0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions matlab-cmd
@@ -1,7 +1,16 @@
#!/usr/bin/env bash
# Easily invoke the command-line version of Matlab.
#
# Author: Benjamin Oakes <hello@benjaminoakes.com>

if [ "$1" == "--help" ]; then
cat <<EOF
Usage: $0 [--help]
Easily invoke the command-line version of Matlab.
--help Show this help text.
EOF
exit -1
fi

matlab -nosplash -nodesktop $*

0 comments on commit ba1b6a0

Please sign in to comment.