We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 600aaf8 commit 705bb04Copy full SHA for 705bb04
cmd/cayley/command/http.go
@@ -47,7 +47,7 @@ func NewHttpCmd() *cobra.Command {
47
cmd.Flags().Bool("init", false, "initialize the database before using it")
48
cmd.Flags().DurationP("timeout", "t", 30*time.Second, "elapsed time until an individual query times out")
49
cmd.Flags().String("assets", "", "[depreacted]")
50
- if cmd.Flags().Lookup("assets") != nil || cmd.Flags().Lookup("assets").Value.String() == "" {
+ if cmd.Flags().Lookup("assets") != nil || cmd.Flags().Lookup("assets").Value.String() != "" {
51
clog.Errorf("The assets flag is deprecated as assets are provided as part of the binary.")
52
}
53
registerLoadFlags(cmd)
0 commit comments