Skip to content
Snippets Groups Projects
Commit 02d29449 authored by Josh Brooks's avatar Josh Brooks
Browse files

Add debug print

parent 27e891b2
No related branches found
No related tags found
1 merge request!23Release
...@@ -149,6 +149,7 @@ var rootCmd = &cobra.Command{ ...@@ -149,6 +149,7 @@ var rootCmd = &cobra.Command{
// Delete this recipient // Delete this recipient
if viper.GetBool("delete-channel") { if viper.GetBool("delete-channel") {
jww.FATAL.Printf("Deleting contact with ID %s", recipientID)
deleteChannel(client, recipientID) deleteChannel(client, recipientID)
} }
...@@ -762,7 +763,8 @@ func init() { ...@@ -762,7 +763,8 @@ func init() {
rootCmd.Flags().Bool("delete-channel", false, rootCmd.Flags().Bool("delete-channel", false,
"Delete the channel information for the corresponding recipient ID") "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, rootCmd.Flags().BoolP("send-auth-request", "", false,
"Send an auth request to the specified destination and wait"+ "Send an auth request to the specified destination and wait"+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment