diff options
-rw-r--r-- | moc-commands.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moc-commands.php b/moc-commands.php index ec962d6..12fa400 100644 --- a/moc-commands.php +++ b/moc-commands.php @@ -61,7 +61,8 @@ function list_info($max_line_len = 0) { return $list . " (" . $cnt . ")"; } -print_known_commands() { +function print_known_commands() { + global $commands; foreach ($commands as $key => $command) { print ' <a href="?what=' . $key; attach_key(); |