git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5839
e03df62e-2008-0410-955e-
edbf42e46eb7
+if ($arg eq "version") {
+ system("sh src/version.sh");
+ system("svn info | grep Revision");
+ exit();
+}
+
if ($arg eq "Cheese-Sandwich") {
print "Creating Cheese Sandwich..\n";
print "Done.\n";
if ($arg eq "Cheese-Sandwich") {
print "Creating Cheese Sandwich..\n";
print "Done.\n";
# If we get here.. bad / no parameters.
###
print "Invalid Argument: $arg\n";
# If we get here.. bad / no parameters.
###
print "Invalid Argument: $arg\n";
-print "Usage: inspircd (start|stop|restart|rehash|status|cron)\n";
+print "Usage: inspircd (start|stop|restart|rehash|status|cron|version)\n";