X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc-config;fp=plc-config;h=ad638dd37a303704014062cda399a7cda17f3566;hb=2be867636695778c955bbfce0eb27b37fe00c361;hp=78fc6dbf2d359e86260cb2f4a3f739b06828764d;hpb=ce74bb0bd3771bd27fe487ff5da21fb7f8a6c1ca;p=myplc.git diff --git a/plc-config b/plc-config index 78fc6db..ad638dd 100755 --- a/plc-config +++ b/plc-config @@ -27,6 +27,7 @@ Usage: %s [OPTION]... [FILES] --shell Output shell configuration file --python Output Python configuration file --php Output PHP configuration file + --ruby Output Ruby configuration file Information: @@ -72,6 +73,7 @@ def main(): # Standard options shortopts = "hs:" longopts = ["shell", "bash", "python", + "ruby", "php", "xml", "variables", @@ -94,6 +96,8 @@ def main(): opt == "--bash" or \ opt == "--python": output = plc.output_shell + elif opt == "--ruby": + output = plc.output_ruby elif opt == "--php": output = plc.output_php elif opt == "--xml":