Software /
code /
prosody
Comparison
prosodyctl @ 4815:04e6115e060b
prosodyctl: Fix import of util.iterators
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 May 2012 01:13:33 +0200 |
parent | 4487:5f466a50e78b |
child | 4824:73e261ed00a9 |
comparison
equal
deleted
inserted
replaced
4814:474684c07a3a | 4815:04e6115e060b |
---|---|
491 show_usage([[about]], [[Show information about this Prosody installation]]); | 491 show_usage([[about]], [[Show information about this Prosody installation]]); |
492 return 1; | 492 return 1; |
493 end | 493 end |
494 | 494 |
495 require "util.array"; | 495 require "util.array"; |
496 require "util.iterators"; | 496 local keys = require "util.iterators".keys; |
497 | 497 |
498 print("Prosody "..(prosody.version or "(unknown version)")); | 498 print("Prosody "..(prosody.version or "(unknown version)")); |
499 print(""); | 499 print(""); |
500 print("# Prosody directories"); | 500 print("# Prosody directories"); |
501 print("Data directory: ", CFG_DATADIR or "./"); | 501 print("Data directory: ", CFG_DATADIR or "./"); |