diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-10 18:37:01 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-14 11:35:37 (GMT) |
commit | 406a4dec12c1473bd70780e893da48f1744415ab (patch) | |
tree | 21d35e85f972034ae88b1922d8778c7e23271919 | |
parent | 2c40e59a677dc3f806208b7c07f0a1035bc92ae9 (diff) |
Remove unused command line options
They seems to have been added for sugar-emulator, which is not
using them anymore. It seems unlikely anyone will run the
sugar script directly from the command line, and anyway it's
just about setting environment variables.
-rw-r--r-- | bin/sugar.in | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/bin/sugar.in b/bin/sugar.in index d8f97b7..2de0c15 100644 --- a/bin/sugar.in +++ b/bin/sugar.in @@ -7,37 +7,6 @@ if [ "$(id -u)" -eq 0 -o "$(id -ru)" -eq 0 ] ; then exit 3 fi -usage() { - cat <<EOF -Usage: sugar [OPTION].. - -Start Sugar window manager. - -Optional arguments. - -d, --display DISPLAY Display to start sugar - -s, --scaling SCALING Scale Sugar theme - Supported values: 72, 100 -EOF - exit 0 -} - -while [ $# -ne 0 ] ; do - case "$1" in - -d | --display) - shift - export DISPLAY="$1" - ;; - -s | --scaling) - shift - export SUGAR_SCALING="$1" - ;; - -h | --help) - usage - ;; - esac - shift -done - # Set default profile dir if test -z "$SUGAR_PROFILE"; then export SUGAR_PROFILE=default |