lib/tlapse/cli/cli.rb in tlapse-0.6.3 vs lib/tlapse/cli/cli.rb in tlapse-0.7.0

- old
+ new

@@ -13,11 +13,11 @@ desc "version", "Print the version number and exit" def version puts Tlapse::VERSION end - desc "capture", "Capture a single photo, saving it to the current directory" - def capture + desc "capture_single", "Capture a single photo, saving it to the current directory" + def capture_single Tlapse::Capture.capture_single end desc "until_sunset", "Generate a gphoto2 command to capture photos from now until the sun sets (useful for cronjobs)" option :interval,