bin/hoc in hoc-0.8 vs bin/hoc in hoc-0.8.1
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# encoding: utf-8
#
-# Copyright (c) 2014-2017 Teamed.io
-# Copyright (c) 2014-2017 Yegor Bugayenko
+# Copyright (c) 2014-2018 Teamed.io
+# Copyright (c) 2014-2018 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -43,9 +43,15 @@
)
o.array(
'-e',
'--exclude',
'Glob pattern to exclude files/dirs, e.g. "vendor/**"'
+ )
+ o.string(
+ '-a',
+ '--author',
+ 'Filter results by given author',
+ default: ''
)
o.string(
'-d',
'--dir',
'Directory to scan',