diff options
author | Jim Meyering <jim@meyering.net> | 1999-10-17 16:26:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-10-17 16:26:30 +0000 |
commit | 8bbc2e29372879f7b32d8c72185c8a8d1d091fb3 (patch) | |
tree | 5e45b24c6ec040cb8204f9858d73207886d555ac | |
parent | 5d694e4cc352928ec00524c1221ed1b467427a1c (diff) | |
download | coreutils-8bbc2e29372879f7b32d8c72185c8a8d1d091fb3.tar.xz |
change a message and add usage(1) to another.
-rw-r--r-- | src/mv.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -451,7 +451,7 @@ main (int argc, char **argv) { if (!dest_is_dir) { - error (0, 0, _("specified target directory, `%s' is not a directory"), + error (0, 0, _("specified target, `%s' is not a directory"), target_directory); usage (1); } @@ -473,8 +473,11 @@ main (int argc, char **argv) } if (n_files > 2 && !dest_is_dir) - error (1, 0, + { + error (0, 0, _("when moving multiple files, last argument must be a directory")); + usage (1); + } } x.backup_type = (make_backups |