lib/autoproj/cli/main.rb in autoproj-2.0.0.b6 vs lib/autoproj/cli/main.rb in autoproj-2.0.0.b7

- old
+ new

@@ -56,10 +56,12 @@ desc 'status [PACKAGES]', 'displays synchronization status between this workspace and the package(s) source' option :only_local, desc: 'only use locally available information (mainly for distributed version control systems such as git)' option :mainline, type: :string, desc: "compare to the given baseline. if 'true', the comparison will ignore any override, otherwise it will take into account overrides only up to the given package set" + option :snapshot, type: :boolean, default: false, + desc: "use the VCS information as 'versions --no-local' would detect it instead of the one in the configuration" def status(*packages) run_autoproj_cli(:status, :Status, Hash[], *packages) end desc 'doc', 'generate API documentation for packages that support it' @@ -195,9 +197,14 @@ banner: '', desc: 'do not stop if some package cannot be versioned' option :replace, type: :boolean, default: false, desc: 'in combination with --save, controls whether an existing file should be updated or replaced' + option :deps, type: :boolean, + default: false, + desc: 'whether both packages and their dependencies should be versioned, or only the selected packages (the latter is the default)' + option :local, type: :boolean, default: false, + desc: 'whether we should access the remote server to verify that the snapshotted state is present' option :save, type: :string, desc: 'save to the given file instead of displaying it on the standard output' def versions(*packages) run_autoproj_cli(:versions, :Versions, Hash[], *packages) end