Skip to content

Commit

Permalink
Merge pull request #992 from ninoseki/fix-typo
Browse files Browse the repository at this point in the history
fix: typos
  • Loading branch information
ninoseki authored Jan 7, 2024
2 parents a7b7c53 + d7fbcb3 commit 0264888
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/mihari/commands/alert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(q = "")
desc "list-transform QUERY", "List/search alerts with transformation"
around :with_db_connection
method_option :template, type: :string, required: true, aliases: "-t",
description: "Jbuilder template itself or a path to a template file"
desc: "Jbuilder template stringor a path to a template"
method_option :page, type: :numeric, default: 1
method_option :limit, type: :numeric, default: 10
#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/commands/artifact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def list(q = "")
desc "list-transform QUERY", "List/search artifacts with transformation"
around :with_db_connection
method_option :template, type: :string, required: true, aliases: "-t",
description: "Jbuilder template itself or a path to a template file"
desc: "Jbuilder template stringor a path to a template"
method_option :page, type: :numeric, default: 1
method_option :limit, type: :numeric, default: 10
#
Expand Down
6 changes: 3 additions & 3 deletions lib/mihari/commands/rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _search(q, page: 1, limit: 10)
end
end

desc "validate PATH", "Validate a rule file"
desc "validate PATH", "Validate a rule"
#
# Validate format of a rule
#
Expand All @@ -37,7 +37,7 @@ def validate(path)
puts rule.data.to_yaml
end

desc "init PATH", "Initialize a new rule file"
desc "init PATH", "Initialize a new rule"
#
# Initialize a new rule file
#
Expand Down Expand Up @@ -71,7 +71,7 @@ def list(q = "")
desc "list-transform QUERY", "List/search rules with transformation"
around :with_db_connection
method_option :template, type: :string, required: true, aliases: "-t",
description: "Jbuilder template itself or a path to a template file"
desc: "Jbuilder template stringor a path to a template"
method_option :page, type: :numeric, default: 1
method_option :limit, type: :numeric, default: 10
#
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/commands/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def list(q = "")
desc "list-transform QUERY", "List/search tags with transformation"
around :with_db_connection
method_option :template, type: :string, required: true, aliases: "-t",
description: "Jbuilder template itself or a path to a template file"
desc: "Jbuilder template stringor a path to a template"
method_option :page, type: :numeric, default: 1
method_option :limit, type: :numeric, default: 10
#
Expand Down

0 comments on commit 0264888

Please sign in to comment.