diff options
Diffstat (limited to 'src/mv.c')
-rw-r--r-- | src/mv.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -160,8 +160,6 @@ main (argc, argv) usage (); } } - if (argc < optind + 2) - usage (); if (flag_version) fprintf (stderr, "%s\n", version_string); @@ -169,6 +167,9 @@ main (argc, argv) if (flag_help) usage (); + if (argc < optind + 2) + usage (); + if (make_backups) backup_type = get_version (version); @@ -447,7 +448,8 @@ Usage: %s [options] source dest\n\ Options:\n\ [-bfiuv] [-S backup-suffix] [-V {numbered,existing,simple}]\n\ [--backup] [--force] [--interactive] [--update] [--verbose]\n\ - [--suffix=backup-suffix] [--version-control={numbered,existing,simple}]\n", + [--suffix=backup-suffix] [--version-control={numbered,existing,simple}]\n\ + [--help] [--version]\n", program_name, program_name); exit (1); } |