summaryrefslogtreecommitdiff
path: root/src/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yes.c')
-rw-r--r--src/yes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yes.c b/src/yes.c
index 5790603d1..8dd443fab 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -32,6 +32,7 @@
#include <getopt.h>
#include "long-options.h"
+#include "version.h"
/* The name this program was run with. */
char *program_name;
@@ -64,7 +65,7 @@ main (argc, argv)
{
program_name = argv[0];
- parse_long_options (argc, argv, "yes", usage);
+ parse_long_options (argc, argv, "yes", version_string, usage);
if (argc == 1)
while (1)