Class: PVN::Log::UserOption

Inherits:
Option show all
Defined in:
lib/pvn/log/options.rb

Constant Summary

Constants inherited from BaseOption

BaseOption::NO_CMDLINE_OPTION

Instance Attribute Summary

Attributes inherited from BaseOption

#default, #description, #name, #negate, #regexp, #tag

Instance Method Summary collapse

Methods inherited from BaseOption

#exact_match?, #negative_match?, #next_argument, #post_process, #process, #regexp_match?, #resolve_value, #set_value, #takes_value?, #to_command_line, #to_doc, #to_s, #unset, #value

Constructor Details

#initialize(optargs = Hash.new) ⇒ UserOption

Returns a new instance of UserOption.



28
29
30
# File 'lib/pvn/log/options.rb', line 28

def initialize optargs = Hash.new
  super :user, '-u', "show only changes for the given user", nil, :as_cmdline_option => nil
end