diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-10 18:37:01 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2013-01-22 11:04:32 (GMT) |
commit | 63ab896dd3d0a6b00fb1f5d3c4eae9b61e23ed94 (patch) | |
tree | b00ca6ee0900fc1f3d1a5ea17957723b09857489 | |
parent | cc856b7b54b5dd1c516e12d17f452da72a807641 (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.
Acked-by: Simon Schampijer <simon@laptop.org>
-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 |