summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ln.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ln.c b/src/ln.c
index 9cc487861..21ba6aded 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -193,7 +193,10 @@ main (argc, argv)
usage (0);
if (optind == argc)
- usage (1);
+ {
+ error (0, 0, "missing file argument");
+ usage (1);
+ }
if (make_backups)
backup_type = get_version (version);