From 12e207b6bcc242b093dc3cad10143f572a3b8d5a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Jun 2005 07:49:07 +0000 Subject: add usage --- tools/drakx-in-chroot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/drakx-in-chroot') 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 [options]\n"; + (my $repository, my $dir, @ARGV) = @ARGV; my $STAGE2_LOCATION = $SLASH_LOCATION . $STAGE2_LOCATION_ROOTED; -- cgit v1.2.1