mirror of https://github.com/perkeep/perkeep.git
devcam: add -nobuild flag to put.
But really this should be a global option, and/or environment controlled, like dev/demo.sh set up previously. Change-Id: Iabf0c02e4a44ed574088e2938f3b4f53cabf3a43
This commit is contained in:
parent
6f75f451c8
commit
6fca50a9c7
|
@ -34,10 +34,11 @@ import (
|
|||
|
||||
type putCmd struct {
|
||||
// start of flag vars
|
||||
altkey bool
|
||||
path string
|
||||
port string
|
||||
tls bool
|
||||
altkey bool
|
||||
path string
|
||||
port string
|
||||
tls bool
|
||||
noBuild bool
|
||||
// end of flag vars
|
||||
|
||||
verbose bool // set by CAMLI_QUIET
|
||||
|
@ -51,6 +52,7 @@ func init() {
|
|||
flags.BoolVar(&cmd.tls, "tls", false, "Use TLS.")
|
||||
flags.StringVar(&cmd.path, "path", "/", "Optional URL prefix path.")
|
||||
flags.StringVar(&cmd.port, "port", "3179", "Port camlistore is listening on.")
|
||||
flags.BoolVar(&cmd.noBuild, "nobuild", false, "Do not rebuild anything.")
|
||||
return cmd
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue