From df6cce8770bea54de9192db7103647ce9e988417 Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Sun, 10 May 2015 12:35:37 +0100 Subject: [PATCH] Bugfix: use class value instead of hardcoded value --- src/com/sheepit/client/standalone/Worker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sheepit/client/standalone/Worker.java b/src/com/sheepit/client/standalone/Worker.java index 93e8fb0..6ff724d 100644 --- a/src/com/sheepit/client/standalone/Worker.java +++ b/src/com/sheepit/client/standalone/Worker.java @@ -81,7 +81,7 @@ public class Worker { @Option(name = "-extras", usage = "Extras data push on the authentication request", required = false) private String extras = null; - @Option(name = "-ui", usage = "Specify the user interface to use, default 'swing', available 'oneline', 'text', 'swing' (graphical)", required = false) + @Option(name = "-ui", usage = "Specify the user interface to use, default '" + GuiSwing.type + "', available '" + GuiTextOneLine.type + "', '" + GuiText.type + "', '" + GuiSwing.type + "' (graphical)", required = false) private String ui_type = null; @Option(name = "-config", usage = "Specify the configuration file", required = false)