diff options
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -259,7 +259,10 @@ main (argc, argv) } if (flag_version) - fprintf (stderr, "%s\n", version_string); + { + fprintf (stderr, "%s\n", version_string); + exit (0); + } if (flag_help) usage (NULL); |