summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-21 07:49:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-21 07:49:07 +0000
commit12e207b6bcc242b093dc3cad10143f572a3b8d5a (patch)
tree3712341dfe20bab4a68256134e74cb2cdf2f915a
parent5b1c1e7586b6b3143a207d39fa9ed63ff324c978 (diff)
downloaddrakx-backup-do-not-use-12e207b6bcc242b093dc3cad10143f572a3b8d5a.tar
drakx-backup-do-not-use-12e207b6bcc242b093dc3cad10143f572a3b8d5a.tar.gz
drakx-backup-do-not-use-12e207b6bcc242b093dc3cad10143f572a3b8d5a.tar.bz2
drakx-backup-do-not-use-12e207b6bcc242b093dc3cad10143f572a3b8d5a.tar.xz
drakx-backup-do-not-use-12e207b6bcc242b093dc3cad10143f572a3b8d5a.zip
add usage
-rw-r--r--tools/drakx-in-chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index abae8fb24..21ff578fc 100644
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -12,6 +12,8 @@ my $LIVE_LOCATION_REL = 'install/stage2/live/';
my $CLP_LOCATION_REL = 'install/stage2/';
my $CLP_FILE_REL = $CLP_LOCATION_REL . 'mdkinst.clp';
+@ARGV >= 2 or die "usage: drakx-in-chroot <repository> <dir to install to> [options]\n";
+
(my $repository, my $dir, @ARGV) = @ARGV;
my $STAGE2_LOCATION = $SLASH_LOCATION . $STAGE2_LOCATION_ROOTED;