diff options
Diffstat (limited to 'src/ln.c')
-rw-r--r-- | src/ln.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -148,8 +148,6 @@ main (argc, argv) break; } } - if (optind == argc) - usage (); if (flag_version) fprintf (stderr, "%s\n", version_string); @@ -157,6 +155,9 @@ main (argc, argv) if (flag_help) usage (); + if (optind == argc) + usage (); + if (make_backups) backup_type = get_version (version); @@ -303,7 +304,7 @@ Options:\n\ [-bdfisvF] [-S backup-suffix] [-V {numbered,existing,simple}]\n\ [--version-control={numbered,existing,simple}] [--backup] [--directory]\n\ [--force] [--interactive] [--symbolic] [--verbose]\n\ - [--suffix=backup-suffix]\n", + [--suffix=backup-suffix] [--help] [--version]\n", program_name, program_name); exit (1); } |