From 2c03d4dc4aaff49dafb56ff38a474b199dc4a0b7 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 3 Nov 2010 22:42:28 +0000 Subject: fix typos --- iurt_root_command | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'iurt_root_command') diff --git a/iurt_root_command b/iurt_root_command index 45894a5..e52d4e7 100755 --- a/iurt_root_command +++ b/iurt_root_command @@ -50,7 +50,7 @@ $run{todo} = []; "$program_name is a perl script to execute commands which need root privilege, it helps probram which needs occasional root privileges for some commands.", sub { $arg or usage($program_name, \@params) }, "Running $program_name" ], [ "", "cp", [ - ["", "cp", -1, "[-r] ... ]", "copy the files to dest", + ["", "cp", -1, "[-r] ... ", "copy the files to dest", sub { my ($tmp, @arg) = @_; $tmp->[0] ||= {}; @@ -78,7 +78,7 @@ $run{todo} = []; "Link files", \&ln, "Linking files" ], [ "", "mkdir", [ - ["", "mkdir", -1, "[--parents] ... ]", "mkdir create the given path", + ["", "mkdir", -1, "[--parents] ... ", "mkdir create the given path", sub { my ($tmp, @arg) = @_; $tmp->[0] ||= {}; @@ -88,7 +88,7 @@ $run{todo} = []; ["p", "parents", 0, "", "Also create needed parents directories", sub { my ($tmp) = @_; $tmp->[0]{parents} = 1; 1 }, "Set the parents flag"], - ], "[--parents] ... ]", + ], "[--parents] ... ", "mkdir create the given path", \&mkdir, "Creating the path" ], [ "", "rm", [ @@ -105,13 +105,13 @@ $run{todo} = []; ], "[-r] ... ", "Remove files", \&rm, "Removing files" ], - [ "", "initdb", 1 , "]", + [ "", "initdb", 1 , "", "perform a rpm --initdb in the chroot.", \&initdb, "Initializing the rpm database" ], [ "v", "verbose", 1, "", "modprobe try to modprobe the given module if authorized.", sub { $run{verbose} = $_[0]; 1 }, "Setting verbose level" ], - [ "", "modprobe", 1, "]", + [ "", "modprobe", 1, "", "modprobe try to modprobe the given module if authorized.", \&modprobe, "Modprobing" ], [ "", "tar", [ @@ -139,7 +139,7 @@ $run{todo} = []; [ "", "bindmount", 2, " ", "bind mount source on dest", \&bindmount, "Bind mounting" ], - [ "", "umount", 1, "]", + [ "", "umount", 1, "", "umount the given directory", \&umount, "Unmounting" ], [ "", "useradd", 3, " [uid]", -- cgit v1.2.1