Commit a1b774028efab4c5ed609551502edf024af8cca5

Stefan Sperling 2020-11-24T22:17:54

fix calls to ref_usage(); found by naddy

diff --git a/tog/tog.c b/tog/tog.c
index c0a85cd..8981c29 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -5549,7 +5549,7 @@ cmd_tree(int argc, char *argv[])
 				    optarg);
 			break;
 		default:
-			usage_tree();
+			usage_ref();
 			/* NOTREACHED */
 		}
 	}
@@ -5558,7 +5558,7 @@ cmd_tree(int argc, char *argv[])
 	argv += optind;
 
 	if (argc > 1)
-		usage_tree();
+		usage_ref();
 
 	cwd = getcwd(NULL, 0);
 	if (cwd == NULL)