Changeset a82e091
- Timestamp:
- Aug 21, 2008, 12:01:23 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 7a45a72
- Parents:
- 38a7f22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/ModuleLoader.pm
r167044b ra82e091 71 71 } 72 72 73 sub reload_ cmd {73 sub reload_module_cmd { 74 74 my $class = shift; 75 75 shift; # Command 76 76 my $module = shift; 77 77 unless(defined($module)) { 78 die("Usage: reload [MODULE]");78 die("Usage: reload-module [MODULE]"); 79 79 }; 80 80 $class->reload_module($module); … … 87 87 description => q{Reloads all modules located in ~/.owl/modules and the system modules directory} 88 88 }); 89 BarnOwl::new_command('reload ', sub {BarnOwl::ModuleLoader->reload_cmd(@_)}, {89 BarnOwl::new_command('reload-module', sub {BarnOwl::ModuleLoader->reload_module_cmd(@_)}, { 90 90 summary => 'Reload one module', 91 usage => 'reload [MODULE]',91 usage => 'reload-module [MODULE]', 92 92 description => q{Reloads a single module located in ~/.owl/modules or the system modules directory} 93 93 });
Note: See TracChangeset
for help on using the changeset viewer.