diff options
Diffstat (limited to 'src/main/java/com/sk89q/warmroast/RoastOptions.java')
-rw-r--r-- | src/main/java/com/sk89q/warmroast/RoastOptions.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/sk89q/warmroast/RoastOptions.java b/src/main/java/com/sk89q/warmroast/RoastOptions.java index edb6a0e..e7d2b07 100644 --- a/src/main/java/com/sk89q/warmroast/RoastOptions.java +++ b/src/main/java/com/sk89q/warmroast/RoastOptions.java @@ -45,5 +45,8 @@ public class RoastOptions { @Parameter(names = { "--interval" }, description = "The sample rate, in milliseconds") public Integer interval = 100; + + @Parameter(names = { "--timeout" }, description = "The number of seconds before ceasing sampling (optional)") + public Integer timeout; } |