Skip to content

Commit 891f196

Browse files
committed
blobsupport: Add as-blob as persistant flag to root
1 parent 67e18b3 commit 891f196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/oscli/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func init() {
4848
rootCmd.PersistentFlags().StringVarP(&remoteHost, "remote-host", "r", "", "address to send any messages to")
4949
rootCmd.PersistentFlags().UintVar(&remotePort, "remote-port", 9000, "port of the remote host to send any messages to")
5050

51-
rootCmd.Flags().BoolVar(&asBlob, "as-blob", false, "send all arguments as blobs (in monitor and send subcommands)")
51+
rootCmd.PersistentFlags().BoolVar(&asBlob, "as-blob", false, "send all arguments as blobs (in monitor and send)")
5252
rootCmd.PersistentFlags().Float64P(keyMsgFrequency, "m", 25, "frequency to send messages at")
5353

5454
err := viper.BindPFlags(rootCmd.PersistentFlags())

0 commit comments

Comments
 (0)