about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/cmd.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd.go b/src/cmd.go
index 3a488e7..9e75478 100644
--- a/src/cmd.go
+++ b/src/cmd.go
@@ -8,8 +8,10 @@ import (
 
 func r2cmd(r2p *r2pipe.Pipe, input string) string {
 
-	// print the command for debugging purposes
-	log.Printf("> %s", input)
+	if *verbose == true {
+		// print the command for debugging purposes
+		log.Printf("> %s", input)
+	}
 
 	// send a command
 	buf1, err := r2p.Cmd(input)