File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ def self.parse(args)
82
82
raise OptionParser ::MissingArgument , 'No options set, try -h for usage'
83
83
elsif options [ :format ] . blank? && !options [ :list_formats ]
84
84
raise OptionParser ::MissingArgument , '-f is required'
85
+ elsif options [ :eggtag ] . blank? && !options [ :list_formats ]
86
+ raise OptionParser ::MissingArgument , '-e is required'
85
87
elsif options [ :format ] && !::Msf ::Simple ::Buffer . transform_formats . include? ( options [ :format ] )
86
88
raise OptionParser ::InvalidOption , "#{ options [ :format ] } is not a valid format"
87
- elsif options [ :eggtag ] . blank?
88
- raise OptionParser ::MissingArgument , '-e is required'
89
89
elsif options [ :depsize ] && options [ :depsize ] =~ /^\d +$/
90
90
raise OptionParser ::InvalidOption , "--depsize must be a Fixnum"
91
91
end
You can’t perform that action at this time.
0 commit comments