Commit Diff


commit - 83cd27f841bd6479abfad4c2e3c4bd870dd8ab7e
commit + e801a56632211d38c174e5511212d9310fa541b7
blob - 38d9e61d95fa470f8004d97a7c6dc470d5aa747b
blob + cc916e7964be183ee3bd9c4521d560d07eb0ba20
--- got/got.c
+++ got/got.c
@@ -247,7 +247,7 @@ main(int argc, char *argv[])
 __dead static void
 usage(int hflag)
 {
-	fprintf(stderr, "usage: %s [-h] [-V] command [arg ...]\n",
+	fprintf(stderr, "usage: %s [-h] [-V | --version] command [arg ...]\n",
 	    getprogname());
 	if (hflag)
 		list_commands();
blob - 7c13005b2538bbd85302be4d280fd98ec23a4ac3
blob + 5d0c9e6b5d519157be95f9fee014e5d8a43feb52
--- tog/tog.c
+++ tog/tog.c
@@ -5064,7 +5064,7 @@ list_commands(void)
 __dead static void
 usage(int hflag)
 {
-	fprintf(stderr, "usage: %s [-h] [-V] [command] [arg ...]\n",
+	fprintf(stderr, "usage: %s [-h] [-V | --version] [command] [arg ...]\n",
 	    getprogname());
 	if (hflag)
 		list_commands();