Software /
code /
prosody
Comparison
prosodyctl @ 4331:9c45858e3208
prosodyctl: Fix 'about' command to not show up where it shouldn't...
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 19 Jul 2011 12:51:59 -0400 |
parent | 4324:5e7cba840409 |
child | 4333:040193dead77 |
comparison
equal
deleted
inserted
replaced
4330:520fcb333cba | 4331:9c45858e3208 |
---|---|
484 commands.stop(arg); | 484 commands.stop(arg); |
485 return commands.start(arg); | 485 return commands.start(arg); |
486 end | 486 end |
487 | 487 |
488 function commands.about(arg) | 488 function commands.about(arg) |
489 if arg[1] == "--help" then | |
490 show_usage([[about]], [[Show information about this Prosody installation]]); | |
491 return 1; | |
492 end | |
493 | |
489 require "util.array"; | 494 require "util.array"; |
490 require "util.iterators"; | 495 require "util.iterators"; |
491 | 496 |
492 print("Prosody "..(prosody.version or "(unknown version)")); | 497 print("Prosody "..(prosody.version or "(unknown version)")); |
493 print(""); | 498 print(""); |