lib/splash/cli/webadmin.rb in prometheus-splash-0.8.5 vs lib/splash/cli/webadmin.rb in prometheus-splash-0.8.6
- old
+ new
@@ -33,12 +33,13 @@
# Thor method : getting execution status of Splash WebAdmin
long_desc <<-LONGDESC
Starting Splash Daemon\n
LONGDESC
+ option :foreground, :type => :boolean, :aliases => "-F"
desc "start", "Splash WebAdmin Daemon status"
def start
- acase = run_as_root :startweb
+ acase = run_as_root :startweb, options
splash_exit acase
end
end