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