3. The graphical editor
- elite-editor [GALAXY | FILE]
+ elite-editor [GALAXY | FILE | -jameson]
Starts the RIGHT ON COMMAND-LINE Commander Editor and Map. This
is a Tk program -- you'll need that installed to run it.
unrewarding) or pirates (risky and tedious), and start trading
food and other cheap items.
-$Id: README,v 1.4 2003/03/01 17:47:07 mdw Exp $
+$Id: README,v 1.5 2003/03/02 12:28:14 mdw Exp $
\f
Local variables:
mode: text
#! /usr/bin/wish
#
-# $Id: elite-editor,v 1.5 2003/03/01 17:47:07 mdw Exp $
+# $Id: elite-editor,v 1.6 2003/03/02 12:28:14 mdw Exp $
package require "elite" "1.0.0"
if {[llength $argv]} {
foreach a $argv {
- set g [parse-galaxy-spec $a]
- if {[llength $g]} {
- destructure {ng g} $g
- map-new $ng $g
- } else {
- cmdr-load $a
+ switch -glob -- $a {
+ "-jameson" {
+ cmdr-new
+ }
+ "-*" {
+ puts stderr "$argv0: unknown option: $a"
+ exit 1
+ }
+ default {
+ set g [parse-galaxy-spec $a]
+ if {[llength $g]} {
+ destructure {ng g} $g
+ map-new $ng $g
+ } else {
+ cmdr-load $a
+ }
+ }
}
}
} else {