summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-25 13:55:46 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-25 13:55:46 +0000
commit81ab25d380a9b27e321dce636010875155b6804d (patch)
tree5c382df846e3ef696a6286386e85106783d00929
parent76634cc63c9c9d8b456fdd9503a861c8854e0739 (diff)
downloaddraklive-81ab25d380a9b27e321dce636010875155b6804d.tar
draklive-81ab25d380a9b27e321dce636010875155b6804d.tar.gz
draklive-81ab25d380a9b27e321dce636010875155b6804d.tar.bz2
draklive-81ab25d380a9b27e321dce636010875155b6804d.tar.xz
draklive-81ab25d380a9b27e321dce636010875155b6804d.zip
print usage if no option is specified
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 610e32b..85f90f6 100755
--- a/draklive
+++ b/draklive
@@ -1528,7 +1528,7 @@ require standalone;
if ($live{copy_wizard}) {
copy_wizard(\%live);
} else {
- every { !$_->{to_run} } @actions and die 'nothing to do';
+ every { !$_->{to_run} } @actions and Pod::Usage::pod2usage();
read_config(\%live, $config_root, $config_path, $settings_path);
check_config(\%live);
complete_config(\%live);