diff options
author | Jim Meyering <jim@meyering.net> | 1994-04-16 01:36:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-04-16 01:36:40 +0000 |
commit | 85274fb9106b3484d4fe48102417b6dbda0e500d (patch) | |
tree | 63a1b2331edebdb052e07f425e0b3c524f30dc62 /src | |
parent | b26bc02086e0122205f3be4c68cffe62b43e80be (diff) | |
download | coreutils-85274fb9106b3484d4fe48102417b6dbda0e500d.tar.xz |
(main): Give a reason for failure when given no
non-option arguments, rather than just the pointer to --help.
Diffstat (limited to 'src')
-rw-r--r-- | src/ln.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |