diff --git a/cmd/signald-cli/cmd/send.go b/cmd/signald-cli/cmd/send.go index 2c09af9..4cbbda8 100644 --- a/cmd/signald-cli/cmd/send.go +++ b/cmd/signald-cli/cmd/send.go @@ -50,7 +50,7 @@ func init() { RootCmd.AddCommand(sendCmd) sendCmd.Flags().StringVarP(&username, "username", "u", "", "The username to send from (required)") - sendCmd.MarkFlagRequired("username") // Misleading: cobra doesn't actually do anything to enforce "required" flags + sendCmd.MarkFlagRequired("username") sendCmd.Flags().StringVarP(&toUser, "to", "t", "", "The user to send the message to (cannot be combined with --group)")