devcam: mount: ditch xterm flag

Change-Id: Id0b003698aa28c3c506df8031597c4bd19c034f8
This commit is contained in:
Brad Fitzpatrick 2014-01-31 12:00:42 +01:00
parent 77dd30fbd1
commit cc4843ed22
1 changed files with 0 additions and 3 deletions

View File

@ -38,7 +38,6 @@ type mountCmd struct {
port string
tls bool
debug bool
xterm bool
// end of flag vars
env *Env
@ -56,7 +55,6 @@ func init() {
flags.StringVar(&cmd.path, "path", "/", "Optional URL prefix path.")
flags.StringVar(&cmd.port, "port", "3179", "Port camlistore is listening on.")
flags.BoolVar(&cmd.debug, "debug", false, "print debugging messages.")
flags.BoolVar(&cmd.xterm, "xterm", false, "Run an xterm in the mounted directory. Shut down when xterm ends.")
return cmd
})
}
@ -107,7 +105,6 @@ func (c *mountCmd) RunCommand(args []string) error {
cmdBin := filepath.Join("bin", "cammount")
cmdArgs := []string{
"-xterm=" + strconv.FormatBool(c.xterm),
"-debug=" + strconv.FormatBool(c.debug),
"-server=" + blobserver,
}