diff --git a/cmd/root.go b/cmd/root.go index 91d4639644009a7dacc83bd4f4dfd78c22ee698d..3fc236fffc4886c90b2dd273ea4af8f28409b903 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -149,6 +149,7 @@ var rootCmd = &cobra.Command{ // Delete this recipient if viper.GetBool("delete-channel") { + jww.FATAL.Printf("Deleting contact with ID %s", recipientID) deleteChannel(client, recipientID) } @@ -762,7 +763,8 @@ func init() { rootCmd.Flags().Bool("delete-channel", false, "Delete the channel information for the corresponding recipient ID") - viper.BindPFlag("delete-channel", rootCmd.Flags().Lookup("delete-channel")) + viper.BindPFlag("delete-channel", + rootCmd.Flags().Lookup("delete-channel")) rootCmd.Flags().BoolP("send-auth-request", "", false, "Send an auth request to the specified destination and wait"+