Sha256: ca2cf3ca53a2534ce5de6c90c6602536946fe251504378cd877debb9046c044a
Contents?: true
Size: 497 Bytes
Versions: 4
Compression:
Stored size: 497 Bytes
Contents
# Allow override of the branch that is cached. This defaults to 'origin/master'. # @param parser [OptionParser object] The OptionParser argument # @param options [Hash] Options hash being constructed; this is modified in this method. OctocatalogDiff::CatalogDiff::Cli::Options::Option.newoption(:master_cache_branch) do has_weight 160 def parse(parser, options) parser.on('--master-cache-branch BRANCH', 'Branch to cache') do |x| options[:master_cache_branch] = x end end end
Version data entries
4 entries across 4 versions & 1 rubygems